mirror of https://github.com/containers/podman.git
Man pages: refactor common options: --cpus
Only on podman create and run: the --cpus option on container-clone and pod-clone can probably be combined, but maybe later. pod-create has unique wording that can't be combined. This is a freebie to review: the text in both files was already identical, and I made no changes to it. hack/markdown-preprocess-review will agree, and show you no diffs, because there are none worth seeing. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
5948320951
commit
5c9bac141e
|
@ -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
|
@@option cpu-shares
|
||||||
|
|
||||||
#### **--cpus**=*number*
|
@@option cpus.container
|
||||||
|
|
||||||
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 cpuset-cpus
|
@@option cpuset-cpus
|
||||||
|
|
||||||
|
|
|
@ -134,17 +134,7 @@ each of **stdin**, **stdout**, and **stderr**.
|
||||||
|
|
||||||
@@option cpu-shares
|
@@option cpu-shares
|
||||||
|
|
||||||
#### **--cpus**=*number*
|
@@option cpus.container
|
||||||
|
|
||||||
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 cpuset-cpus
|
@@option cpuset-cpus
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue