docker wait <container>

Block until one or more containers stop, then print their exit codes

Arguments

NameDescription
container