Q2. What is the difference 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!

Enroll Now

Docker Stop – allows the docker contianer to terminate the process gracefully. This will also internally call KILL method if the STOP methods didnot respond with in limited time period

Docker Kill – will terminate the docker container abruptly.It will leads to Forcible exist.