Don't use -rm with docker run #1748
Unanswered
ailtire-JonGrant
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all
I was having issues (container could not be removed) with the following log entries:
Stopping /my_container (f5d757be470f) with SIGTERM
container /my_container (f5d757be470f) could not be removed
The docker run command was:
docker run --detach --rm -p 5000:5000 --stop-timeout 120 --name my_container index.docker.io/userbob/graphing
After some debugging it turned out the -rm command was causing this issue and removing all worked fine!
PS great product everyone -- thank you!!
Cheers
Jon
Beta Was this translation helpful? Give feedback.
All reactions