What is diff between docker pause/unpause and stop/kill?
Pause: when the running container is paused “SIGSTOP”is processed inside the container and become paused state. (Freeze CGroup)
Unpause: Unpause execute “SIGCONT” inside the container to restore the container process (UnFreeze CGroup)
Stop: Stop execute “SIGTERM” inside the container and stop the process and the container and once grace period exceeded still stopping state then “SIGKILL” will executed (Gracefully stops)
Kill: Kill execute “SIGKILL” inside the container and stops immediately or specified –signal will be executed (Terminates abruptly)