docker wait命令-阻塞容器运行

wait 阻塞运行直到容器停止

Usage: docker wait CONTAINER [CONTAINER...]Blockuntil a container stops,thenprint its exit code.