What is the use of “docker wait” commands?
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Docker wait command block until one or more containers stop, then print their exit codes
Usage
$ docker wait CONTAINER [CONTAINER...]