Debug School

Tomar Singh
Tomar Singh

Posted on

Docker Lab Assignment - Tomar

what is the diff between docker pause and docker unpause?

  • docker pause will stop the processes inside the specified container. Its not going to use resources (cpu ,memory), On the other hand unpause will again resume the process. After pausing a container if you do docker stats, it will show that cpu has 0% of utilization. When we unpause it, cpu usage shows 0.1% of usage.

What is the diff between docker stop and docker kill?

  • docker stop commands will not stop processes immediately, it will gracefully handle it. docker stop SIGTERM command. Whereas docker kill will suspends the process immediately by sending SIGKILL command, thats why we see zero (0) for killed container.

Top comments (0)