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

YOUR COSMETIC CARE STARTS HERE
Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.
“Small steps lead to big changes — today is a perfect day to begin.”
✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence
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
