Debug School

Nilesh Kumar
Nilesh Kumar

Posted on

Difference between docker stop and docker kill?

Docker stop terminates the process gracefully, while docker kill will terminate the process abruptly. The docker stop commands issue the SIGTERM signal, whereas the docker kill commands sends the SIGKILL signal.
The docker stop command stops the container gracefully and provides a safe way out. If a docker stop command fails to terminate a process within the specified timeout, the Docker issues a kill command implicitly and immediately.

Top comments (0)