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.
Docker 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. With a single command, you can place limits on a single container or on many. To specify more than one container, provide space-separated list of container names or IDs
Command example:
docker update –cpus 4 320f02d6f0f7
Docker wait
Block until one or more containers stop, then print their exit codes
Example:
1st terminal
docker wait 320f02d6f0f7
In another terminal, stop the container
Docker stop 320f02d6f0f7
in the 1st terminal it exits returning 0