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.
Docker stop command exits the container with exit code 0 while docker kill command exit the container with exit code 137.
root@ip-172-31-28-155:/home/ubuntu# docker stop srm
root@ip-172-31-28-155:/home/ubuntu# docker ps -a | grep srm
05d0bb37cd21 httpd "httpd-foreground" 4 minutes ago Exited (0) 26 seconds ago srm
root@ip-172-31-28-155:/home/ubuntu# docker start srm
root@ip-172-31-28-155:/home/ubuntu# docker kill srm
root@ip-172-31-28-155:/home/ubuntu# docker ps -a | grep srm
05d0bb37cd21 httpd "httpd-foreground" 5 minutes ago Exited (137) 2 seconds ago srm