Просмотр исходного кода

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 лет назад
Родитель
Сommit
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
       -a, --attach=false         Attach container's stdout/stderr and forward all signals to the process
       -i, --interactive=false    Attach container's stdin
       -i, --interactive=false    Attach container's stdin
 
 
+When run on a container that has already been started, 
+takes no action and succeeds unconditionally.
+
 ## stop
 ## stop
 
 
     Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
     Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]