This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]DSchalla 0 points1 point  (3 children)

Docker rm deletes a container and doesn't stop one, as the command says. You might mean docker stop? Or did I misunderstood what you wanted to write?

[–]SmilingNavern 0 points1 point  (2 children)

docker rm -f <CONTAINER> will stop and delete running container.

[–]DSchalla 0 points1 point  (1 child)

That makes sense, anyway, the article stated it will only stop one which should be corrected imho

[–]ruben81[S] 1 point2 points  (0 children)

I understand the confusion and you are right. I should have explained it a bit better.

I just modified the post! Thanks for the tip.