From 04c32495f69a48c34b753b66d7cdc4f2c695f405 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Thu, 5 Dec 2013 14:19:10 +1000 Subject: [PATCH] add a little prose to tell the user that run creates a container, and then starts it --- docs/sources/commandline/cli.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sources/commandline/cli.rst b/docs/sources/commandline/cli.rst index d7bb03b954..43ef0f89b2 100644 --- a/docs/sources/commandline/cli.rst +++ b/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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~