Set default restart policy name to 'no' Closes #10874

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Upstream-commit: 311a600f1912c0d2a30becffdecde6026ada2624
Component: engine
This commit is contained in:
Lei Jitang
2015-03-10 10:09:12 +08:00
parent f84b953b72
commit 0199092cfa
5 changed files with 23 additions and 4 deletions

View File

@ -799,7 +799,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