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!

Enroll Now

Docker stop: Graceful exit. Apps can catch the signal(SIGTERM) and ignore/handle it.

Normally APPS will do some cleanup activities by handling it.

Docker Kill: Forceful exit. Generate SIGKILL signal.Apps can’t catch or ignore.