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

Fix container cleanup #58

Merged
merged 4 commits into from
Feb 1, 2025
Merged

Fix container cleanup #58

merged 4 commits into from
Feb 1, 2025

Conversation

schaefi
Copy link
Contributor

@schaefi schaefi commented Feb 1, 2025

Fix container cleanup

A flake configured to be attached can also be re-started using the same container storage. However, the container was always removed when the command exited. This commit fixes it to avoid removing the container of attach type flakes. In addition a flake option %remove was added to allow removing the container created for resume and attach type flakes

Fix building runtime arguments

Use get_run_cmdline method everywhere

A flake configured to be attached can also be re-started
using the same container storage. However, the container
was always removed when the command exited. This commit
fixes it to avoid removing the container of attach type
flakes. In addition a flake option %remove was added to
allow removing the container created for resume and attach
type flakes
Use get_run_cmdline method everywhere
@schaefi schaefi self-assigned this Feb 1, 2025
@schaefi schaefi merged commit 740b01f into main Feb 1, 2025
7 checks passed
@schaefi schaefi deleted the fix_container_cleanup branch February 1, 2025 21:51
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.

None yet

1 participant