Assignment Day 2 – Explain docker update & docker wait commands with example
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 eg : docker update –cpu-shares 512 317e428b3427(share cpu) you can check with the docker inspect 166eb15bcb01 command docker wait Start a container in the background. Run docker wait, which should block until the container exits. In another terminal, stop the first container. The docker wait command above returns the exit code. This is the same docker wait command from above,
Read more