Debug School

Nityanand kumar
Nityanand kumar

Posted on

Docker Commands:

1) What is the use of "docker update"? Hint - docker run --help
Answer: It update the configuration of one or more containers. We can look for different options available.

2)What is the use of "docker wait"?
Answer: "docker wait" is used to wait or block until one or more containers stop, and then it outputs their exit codes.
Example: We start a container in the background and then use the command docker wait which should block until the container exits.

Top comments (0)