Answer the question
In order to leave comments, you need to log in
How is kill different from stop?
What is the correct way to stop a container and what is the difference between docker kill and docker stop?
Answer the question
In order to leave comments, you need to log in
docker stop sends a SIGTERM signal and only kills the process after a while if it hasn't exited "in an amicable way". And docker kill - immediately sends SIGKILL and beats without unnecessary expectations. Or another signal that can be specified as a parameter.
https://docs.docker.com/engine/reference/commandli...
https://docs.docker.com/engine/reference/commandli...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question