瀏覽代碼

add a little prose to tell the user that run creates a container, and then starts it

Sven Dowideit 11 年之前
父節點
當前提交
04c32495f6
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      docs/sources/commandline/cli.rst

+ 3 - 0
docs/sources/commandline/cli.rst

@@ -930,6 +930,9 @@ containers will not be deleted.
       -link="": Add link to another container (name:alias)
       -name="": Assign the specified name to the container. If no name is specific docker will generate a random name
       -P=false: Publish all exposed ports to the host interfaces
+      
+``docker run`` ``creates`` a writeable container layer over the specified image, and then 
+``start``s it using the specified command (ie. is equivalent to the API ``/containers/create`` then ``/containers/(id)/start``). 
 
 Known Issues (run -volumes-from)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~