Docker Update & wait command

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

The docker update command dynamically updates container configuration. You can use this command to prevent containers from consuming too many resources from their Docker host.

Examples:

docker update –cpu-shares 512 23263ad49893

Wait

Block until one or more containers stop, then print their exit codes.

Examples:

start the container in background

docker run -dit –name=poorani1 bash

wait for the container

docker wait poorani1

stop the container in another terminal or console

docker stop poorani1

container wait command will get the exists status.