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

remove container after use #197

Merged
merged 1 commit into from
Sep 6, 2022
Merged

remove container after use #197

merged 1 commit into from
Sep 6, 2022

Conversation

deeplow
Copy link
Contributor

@deeplow deeplow commented Aug 26, 2022

The containers and their respective volumes where not being deleted.
By adding --rm to the podman run it now removes the containers
after use along with anonymous (unnamed) volumes 1. The same
happens in docker 2.

Fixes #196

The containers and their respective volumes where not being deleted.
By adding `--rm` to the `podman run` it now removes the containers
after use along with anonymous (unnamed) volumes [1]. The same
happens in docker [2].

Fixes #196

[1]: https://docs.podman.io/en/latest/markdown/podman-run.1.html#volume-v-source-volume-host-dir-container-dir-options
[2]: https://docs.docker.com/storage/volumes/#remove-volumes
@micahflee micahflee merged commit b524928 into main Sep 6, 2022
deeplow added a commit that referenced this pull request Sep 7, 2022
The issue #197 ended up being added in the release but had not been updated in the changelog.
@deeplow deeplow deleted the 196-container-leakage branch May 11, 2023 13:49
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.

Podman / Docker volume leakage
2 participants