Deprecate -c cli short variant flag in docker cli
- build - create Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
committed by
Tibor Vass
parent
c3c2867b15
commit
4c506e1df7
@ -15,7 +15,7 @@ parent = "smn_cli"
|
||||
Build a new image from the source code at PATH
|
||||
|
||||
--build-arg=[] Set build-time variables
|
||||
-c, --cpu-shares CPU Shares (relative weight)
|
||||
--cpu-shares CPU Shares (relative weight)
|
||||
--cgroup-parent="" Optional parent cgroup for the container
|
||||
--cpu-period=0 Limit the CPU CFS (Completely Fair Scheduler) period
|
||||
--cpu-quota=0 Limit the CPU CFS (Completely Fair Scheduler) quota
|
||||
|
||||
@ -121,7 +121,7 @@ To list the help on any command just execute the command, followed by the
|
||||
Run a command in a new container
|
||||
|
||||
-a, --attach=[] Attach to STDIN, STDOUT or STDERR
|
||||
-c, --cpu-shares=0 CPU shares (relative weight)
|
||||
--cpu-shares=0 CPU shares (relative weight)
|
||||
...
|
||||
|
||||
## Option types
|
||||
|
||||
@ -19,7 +19,7 @@ Creates a new container.
|
||||
-a, --attach=[] Attach to STDIN, STDOUT or STDERR
|
||||
--add-host=[] Add a custom host-to-IP mapping (host:ip)
|
||||
--blkio-weight=0 Block IO weight (relative weight)
|
||||
-c, --cpu-shares=0 CPU shares (relative weight)
|
||||
--cpu-shares=0 CPU shares (relative weight)
|
||||
--cap-add=[] Add Linux capabilities
|
||||
--cap-drop=[] Drop Linux capabilities
|
||||
--cgroup-parent="" Optional parent cgroup for the container
|
||||
|
||||
@ -17,7 +17,7 @@ parent = "smn_cli"
|
||||
-a, --attach=[] Attach to STDIN, STDOUT or STDERR
|
||||
--add-host=[] Add a custom host-to-IP mapping (host:ip)
|
||||
--blkio-weight=0 Block IO weight (relative weight)
|
||||
-c, --cpu-shares=0 CPU shares (relative weight)
|
||||
--cpu-shares=0 CPU shares (relative weight)
|
||||
--cap-add=[] Add Linux capabilities
|
||||
--cap-drop=[] Drop Linux capabilities
|
||||
--cgroup-parent="" Optional parent cgroup for the container
|
||||
@ -562,4 +562,4 @@ application change:
|
||||
5. Finally, we create a container that runs `tail -f access.log` using the logs
|
||||
volume from the `web` container, setting the workdir to `/var/log/httpd`. The
|
||||
`--rm` option means that when the container exits, the container's layer is
|
||||
removed.
|
||||
removed.
|
||||
|
||||
Reference in New Issue
Block a user