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

It is stopping a running docker container. It is a graceful termination of docker container with exit code – Exited (0)

docker kill

It is killing a running docker container. It is a forceful termination of docker container with exit code – Exited (137)