What is diff between docker pause/unpause and stop/kill?
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Pause/Unpause
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/Kill
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)