mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Validate run restart option value. Default value is “none”, instead of “no”, this is more in line with compose values, and changes only the default so should not have too much impact on legacy usage.
This commit is contained in:
parent
a2c2d6aa5d
commit
f442eafe0b
16 changed files with 145 additions and 86 deletions
|
|
@ -31,7 +31,7 @@ docker run [OPTIONS] _image_ [COMMAND] [ARG...]
|
|||
--cpus Number of CPUs to allocate, approximately
|
||||
-p, --publish list Publish a container's port(s) to the host
|
||||
-P, --publish-all Publish all exposed ports to random ports
|
||||
--restart string Restart policy to apply when a container exits (default "no")
|
||||
--restart string Restart policy to apply when a container exits (default "none")
|
||||
--entrypoint string Overwrite the default ENTRYPOINT of the image
|
||||
|
||||
--mount mount Attach a filesystem mount to the container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue