DockerCLI/docs/reference/commandline/wait.md

16 lines
309 B
Markdown
Raw Normal View History

<!--[metadata]>
+++
title = "wait"
description = "The wait command description and usage"
keywords = ["container, stop, wait"]
[menu.main]
parent = "smn_cli"
weight=1
+++
<![end-metadata]-->
# wait
Usage: docker wait CONTAINER [CONTAINER...]
Block until a container stops, then print its exit code.