Merge pull request #11235 from coolljt0725/fix_default_restart_name

Set default restart policy name to `no` Closes #10874
Upstream-commit: 7e47bb6effd1f076a78827543c4b4ce399c0ad1b
Component: engine
This commit is contained in:
Jessie Frazelle
2015-03-10 12:12:40 -07:00
5 changed files with 23 additions and 4 deletions

View File

@ -802,7 +802,7 @@ Creates a new container.
-p, --publish=[] Publish a container's port(s) to the host
--privileged=false Give extended privileges to this container
--read-only=false Mount the container's root filesystem as read only
--restart="" Restart policy to apply when a container exits
--restart="no" Restart policy to apply when a container exits
--security-opt=[] Security Options
-t, --tty=false Allocate a pseudo-TTY
-u, --user="" Username or UID