Docker update & wait
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
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]#