What is the use of "docker update"?
- Docker update command is used to update the container resources or configuration at runtime. It can change cpu or memory initial configuration like this: docker update -m 512m
This command can help us in scenarios where more resources require for a container Or if container is under performing.
What is the use of "docker wait"?
- docker wait command is used to wait until the command executes (until the mentioned container stops). For example if a container is going to stop wait command will block your terminal for any operation until it stops successfully. -> docker wait
- this will block the terminal. Now if go to the other terminal and stops this container, docker wait command will return 0 and terminal will be available for further use.