Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
What is the diff between docker stop and docker kill?
docker stop will send SIGTERM to the process and docker will have some-time seconds to clean up like saving files or emitting some messages.
docker stop <docker_id>
docker inspect <docker_id>
Will return “ExitCode:0”
docker kill will terminate the process used in-case the docker is in locked up state or not responding state.
docker kill <docker_id>
docker inspect <docker_id>
Will return “ExitCode:137”
