mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Add notes to flags not supported on cgroups V2
Clarify what flags are not supported on cgroups V2 in documentation. Signed-off-by: Hironori Shiina <shiina.hironori@jp.fujitsu.com>
This commit is contained in:
@ -181,6 +181,8 @@ Limit the CPU real-time period in microseconds
|
||||
|
||||
Limit the container's Real Time CPU usage. This flag tell the kernel to restrict the container's Real Time CPU usage to the period you specify.
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--cpu-rt-runtime**=*microseconds*
|
||||
|
||||
Limit the CPU real-time runtime in microseconds
|
||||
@ -190,6 +192,8 @@ Period of 1,000,000us and Runtime of 950,000us means that this container could c
|
||||
|
||||
The sum of all runtimes across containers cannot exceed the amount allotted to the parent cgroup.
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--cpu-shares**=*shares*
|
||||
|
||||
CPU shares (relative weight)
|
||||
@ -479,6 +483,8 @@ is not limited. If you specify a limit, it may be rounded up to a multiple
|
||||
of the operating system's page size and the value can be very large,
|
||||
millions of trillions.
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--label**, **-l**=*label*
|
||||
|
||||
Add metadata to a container (e.g., --label com.example.key=value)
|
||||
@ -561,6 +567,8 @@ unit, `b` is used. Set LIMIT to `-1` to enable unlimited swap.
|
||||
|
||||
Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100.
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--mount**=*type=TYPE,TYPE-SPECIFIC-OPTION[,...]*
|
||||
|
||||
Attach a filesystem mount to the container
|
||||
|
@ -199,6 +199,8 @@ Limit the CPU real-time period in microseconds.
|
||||
|
||||
Limit the container's Real Time CPU usage. This flag tell the kernel to restrict the container's Real Time CPU usage to the period you specify.
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--cpu-rt-runtime**=*microseconds*
|
||||
|
||||
Limit the CPU real-time runtime in microseconds.
|
||||
@ -208,6 +210,8 @@ Period of 1,000,000us and Runtime of 950,000us means that this container could c
|
||||
|
||||
The sum of all runtimes across containers cannot exceed the amount allotted to the parent cgroup.
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--cpu-shares**=*shares*
|
||||
|
||||
CPU shares (relative weight).
|
||||
@ -518,6 +522,8 @@ is not limited. If you specify a limit, it may be rounded up to a multiple
|
||||
of the operating system's page size and the value can be very large,
|
||||
millions of trillions.
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--label**, **-l**=*key*=*value*
|
||||
|
||||
Add metadata to a container.
|
||||
@ -595,6 +601,8 @@ Set _number_ to **-1** to enable unlimited swap.
|
||||
|
||||
Tune a container's memory swappiness behavior. Accepts an integer between *0* and *100*.
|
||||
|
||||
This flag is not supported on cgroups V2 systems.
|
||||
|
||||
#### **--mount**=*type=TYPE,TYPE-SPECIFIC-OPTION[,...]*
|
||||
|
||||
Attach a filesystem mount to the container
|
||||
|
Reference in New Issue
Block a user