Sfoglia il codice sorgente

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

Sven Dowideit 11 anni fa
parent
commit
04c32495f6
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~