-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15428 from edsantiago/docs_dedup_cpus
[CI:DOCS] Man pages: refactor common options: --cpus
- Loading branch information
Showing
3 changed files
with
13 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters