- What is difference between docker kill and docker stop? "docker stop" stops the running containers gracefully. It exits with a code 0.
 
"docker kill" stop the running containers abruptly. The container exists with a code 137.
4db69d6b08de   httpd     "httpd-foreground"   11 minutes ago   Exited (137) 7 minutes ago             dazzling_mclaren
bce0e2162489   httpd     "httpd-foreground"   12 minutes ago   Exited (0) 8 minutes ago               raj
- What is difference between docker pause and docker unpause? "docker pause" command suspends all processes in the specified containers. On Linux, this uses the freezer cgroup.
 
"docker unpause" command un-suspends all processes in the specified containers. On Linux, it does this using the freezer cgroup
Top comments (0)