Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --rm to cleanup docker containers after command execution #29

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

ziopio
Copy link
Member

@ziopio ziopio commented Sep 6, 2024

We do not recycle docker containers and currently every dockerized_command call will create a new container.
This makes docker remove the container as soon as it returns.

@ziopio ziopio requested a review from sylane September 6, 2024 15:38
Copy link
Contributor

@sylane sylane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test it, but it looks correct

@ziopio
Copy link
Member Author

ziopio commented Sep 6, 2024

I didn't test it, but it looks correct

I'll merge once my compilation terminates and I can verify the container is cleaned up

@ziopio ziopio marked this pull request as ready for review September 6, 2024 15:59
@ziopio ziopio merged commit 0397642 into master Sep 6, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants