πŸš€ DevOps Certified Professional
πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 | 🀝 +1 (469) 756-6329 πŸ” Contact@DevOpsSchool.com

Day:2 Docker Update

DevOps

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.


Get Started Now!

[root@ip-172-31-14-110 centos]# docker update –cpu-shares 512 c04ba627e5ae ecstatic_shaw
d28b65c987d8
ecstatic_shaw
[root@ip-172-31-14-110 centos]# docker diff c04ba627e5ae
C /tmp
A /tmp/jetty-0_0_0_0-8080-war-_-any-8581425030792705993
A /tmp/winstone6787664488571520537.jar
A /tmp/hsperfdata_jenkins
A /tmp/hsperfdata_jenkins/7

wait

docker wait command waits for one or more container to exit and provides the return status of the docker exit

[root@ip-172-31-15-56 centos]# docker wait c04ba627e5ae
0
[root@ip-172-31-15-56 centos]#

[root@ip-172-31-15-56 centos]# docker wait c04ba627e5ae
137
[root@ip-172-31-15-56 centos]#