Docker update & wait

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

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]#