What is use of "docker update" ?
The docker update command updates the container configuration dynamically. This command is used to prevent the containers from use up too many resources from the docker host.
What is the use of "docker wait" ?
docker wait command is used to block or wait until one or more containers stops, and then it shows the exit code as output, that is why we cannot use the terminal if we are running this command on the terminal.