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

Docker Update & wait command

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

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.