Debug School

shashikiran
shashikiran

Posted on

DevOps Training - Docker Assessment 2

  1. What is the difference between docker pause and docker unpause? (Hint - docker stats)
    The docker pause command suspends all processes
    docker unpause command resumes all processes in the specified container.

  2. What is the difference between docker stop and docker kill (Hints - Return value of linux + SIGNALs)
    Below are the differences -
    a) docker stop 1. shutdown the container
    2. returns None as return value
    docker kill 1. stops/terminates the container immediately.
    2. docker kill sends a SIGKILL signal.

Top comments (0)