🚀 DevOps Certified Professional
📅 Starting: 1st of Every Month 🤝 +91 8409492687 | 🤝 +1 (469) 756-6329 🔍 Contact@DevOpsSchool.com

Docker update & wait

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!

Update :

[root@ip-172-31-17-58 centos]# docker update –pids-limit 5 6344a718da9b
6344a718da9b
[root@ip-172-31-17-58 centos]# docker update –help
[root@ip-172-31-17-58 centos]# docker update –cpu-period 200 8d2f95364af1
Error response from daemon: CPU cfs period can not be less than 1ms (i.e. 1000) or larger than 1s (i.e. 1000000)
[root@ip-172-31-17-58 centos]# docker update –cpu-period 2000 8d2f95364af1

wait :

[root@ip-172-31-17-58 centos]# docker start 8d2f95364af1
8d2f95364af1
[root@ip-172-31-17-58 centos]# docker stop 8d2f95364af1
8d2f95364af1

In another terminal :

[root@ip-172-31-17-58 centos]# clear
[root@ip-172-31-17-58 centos]# docker wait 8d2f95364af1
0
[root@ip-172-31-17-58 centos]#