Debug School

B. Tarun Kumar Reddy
B. Tarun Kumar Reddy

Posted on

Assignment 2 by Tarun

What is the difference between docker pause and docker unpause?
Hint - docker stats

docker pause - This command suspends all processes in the container which is specified by the user.
docker unpause - the docker unpause command resumes all processes in the container that is specified by the user.

What is the difference between docker stop and docker kill Hints - Return value of linux + SIGNALs

docker stop - docker stop will shutdown one or more running containers. docker stop sends a SIGTERM signal to the main process inside the container
docker kill - docker kill command kills one or more running containers immediately. The main process inside the container sends SIGKILL signal.

Top comments (0)