Answer for Assignment – Day 1

What is the diff between docker pause and docker unpause?

Docker pause command is used to move the processes running within the container to paused state by sending a signal SIGSTOP and then the docker unpause command can be used to bring back the processes to running state.

What is the diff between docker stop and docker kill?

Docker stop command is used to stop all the running processes within the container by sending a SIGTERM signal which can be handled using signal handlers within the process to do any kind of cleanup activities. While docker kill command kills all the processes within a container through SIGKILL command.