mirror of
https://github.com/containers/podman.git
synced 2026-03-19 07:08:38 -04:00
Merge pull request #15428 from edsantiago/docs_dedup_cpus
[CI:DOCS] Man pages: refactor common options: --cpus
This commit is contained in:
11
docs/source/markdown/options/cpus.container.md
Normal file
11
docs/source/markdown/options/cpus.container.md
Normal file
@@ -0,0 +1,11 @@
|
||||
#### **--cpus**=*number*
|
||||
|
||||
Number of CPUs. The default is *0.0* which means no limit. This is shorthand
|
||||
for **--cpu-period** and **--cpu-quota**, so you may only set either
|
||||
**--cpus** or **--cpu-period** and **--cpu-quota**.
|
||||
|
||||
On some systems, changing the CPU limits may not be allowed for non-root
|
||||
users. For more details, see
|
||||
https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error
|
||||
|
||||
This option is not supported on cgroups V1 rootless systems.
|
||||
@@ -119,17 +119,7 @@ Block IO relative device weight.
|
||||
|
||||
@@option cpu-shares
|
||||
|
||||
#### **--cpus**=*number*
|
||||
|
||||
Number of CPUs. The default is *0.0* which means no limit. This is shorthand
|
||||
for **--cpu-period** and **--cpu-quota**, so you may only set either
|
||||
**--cpus** or **--cpu-period** and **--cpu-quota**.
|
||||
|
||||
On some systems, changing the CPU limits may not be allowed for non-root
|
||||
users. For more details, see
|
||||
https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error
|
||||
|
||||
This option is not supported on cgroups V1 rootless systems.
|
||||
@@option cpus.container
|
||||
|
||||
@@option cpuset-cpus
|
||||
|
||||
|
||||
@@ -134,17 +134,7 @@ each of **stdin**, **stdout**, and **stderr**.
|
||||
|
||||
@@option cpu-shares
|
||||
|
||||
#### **--cpus**=*number*
|
||||
|
||||
Number of CPUs. The default is *0.0* which means no limit. This is shorthand
|
||||
for **--cpu-period** and **--cpu-quota**, so you may only set either
|
||||
**--cpus** or **--cpu-period** and **--cpu-quota**.
|
||||
|
||||
On some systems, changing the CPU limits may not be allowed for non-root
|
||||
users. For more details, see
|
||||
https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error
|
||||
|
||||
This option is not supported on cgroups V1 rootless systems.
|
||||
@@option cpus.container
|
||||
|
||||
@@option cpuset-cpus
|
||||
|
||||
|
||||
Reference in New Issue
Block a user