Updated the stop command's docs.

Upstream-commit: 1d02a7ffb63915055f5fd9bda420bd08a8679da1
Component: engine
This commit is contained in:
David Sissitka
2013-07-21 19:00:18 -04:00
parent 9c4e7803c8
commit 52d2580351
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ func (cli *DockerCli) CmdInfo(args ...string) error {
func (cli *DockerCli) CmdStop(args ...string) error {
cmd := Subcmd("stop", "[OPTIONS] CONTAINER [CONTAINER...]", "Stop a running container")
nSeconds := cmd.Int("t", 10, "Number of seconds to try to stop for before killing the container. Default=10")
nSeconds := cmd.Int("t", 10, "Number of seconds to wait for the container to stop before killing it.")
if err := cmd.Parse(args); err != nil {
return nil
}
@@ -8,6 +8,8 @@
::
Usage: docker stop [OPTIONS] NAME
Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
Stop a running container
-t=10: Number of seconds to wait for the container to stop before killing it.