mirror of https://github.com/docker/cli.git
Set default restart policy name to 'no' Closes #10874
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
d8c4619844
commit
688dc5977b
|
@ -802,7 +802,7 @@ Creates a new container.
|
||||||
-p, --publish=[] Publish a container's port(s) to the host
|
-p, --publish=[] Publish a container's port(s) to the host
|
||||||
--privileged=false Give extended privileges to this container
|
--privileged=false Give extended privileges to this container
|
||||||
--read-only=false Mount the container's root filesystem as read only
|
--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
|
--security-opt=[] Security Options
|
||||||
-t, --tty=false Allocate a pseudo-TTY
|
-t, --tty=false Allocate a pseudo-TTY
|
||||||
-u, --user="" Username or UID
|
-u, --user="" Username or UID
|
||||||
|
|
Loading…
Reference in New Issue