What is the use of “docker wait” commands? with example and image
The wait command will wait until a container stops and then print their exit codes.
eg
docker run –name kphttpd httpd
docker wait kphttpd
docker kill kphttpd
DevOps – DevSecOps – SRE – DataOps – AIOps
Lets Learn, Do it & Share! Thats a DevOps!!!
The wait command will wait until a container stops and then print their exit codes.
eg
docker run –name kphttpd httpd
docker wait kphttpd
docker kill kphttpd