浏览代码

Clarify effect of docker start on started container in CLI docs

This behavior changed from v0.9 to v0.10, so document it to prevent
any confusion.

Docker-DCO-1.1-Signed-off-by: Matthew Heon <mheon@redhat.com> (github: mheon)
Matthew Heon 11 年之前
父节点
当前提交
d08c965e2c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      docs/sources/reference/commandline/cli.md

+ 3 - 0
docs/sources/reference/commandline/cli.md

@@ -1139,6 +1139,9 @@ more details on finding shared images from the commandline.
       -a, --attach=false         Attach container's stdout/stderr and forward all signals to the process
       -i, --interactive=false    Attach container's stdin
 
+When run on a container that has already been started, 
+takes no action and succeeds unconditionally.
+
 ## stop
 
     Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]