mirror of
https://github.com/containers/podman.git
synced 2025-06-17 15:08:08 +08:00
Docker uses "-c" to mean "--cpu-shares" in create and run
Add support for -c as an alias for --cpu-shares to be compatible with Docker. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:

committed by
Matthew Heon

parent
ffd2e6df9d
commit
b29a52a48a
@ -61,7 +61,7 @@ The sum of all runtimes across containers cannot exceed the amount allotted to t
|
||||
|
||||
This option is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--cpu-shares**=*shares*
|
||||
#### **--cpu-shares**, **-c**=*shares*
|
||||
|
||||
CPU shares (relative weight)
|
||||
|
||||
|
@ -201,7 +201,7 @@ The sum of all runtimes across containers cannot exceed the amount allotted to t
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--cpu-shares**=*shares*
|
||||
#### **--cpu-shares**, **-c**=*shares*
|
||||
|
||||
CPU shares (relative weight)
|
||||
|
||||
|
@ -220,7 +220,7 @@ The sum of all runtimes across containers cannot exceed the amount allotted to t
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--cpu-shares**=*shares*
|
||||
#### **--cpu-shares**, **-c**=*shares*
|
||||
|
||||
CPU shares (relative weight).
|
||||
|
||||
|
Reference in New Issue
Block a user