Q2. What is the differenece between docker stop and docker 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!
docker stop – The main process inside the container will receive SIGTERM
, and after a grace period, SIGKILL
.
docker kill – The main process inside the container is sent SIGKILL
signal (default)