summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/cpu-quota.md
blob: 67b9dee8cf3cb883f573a14968548ab72b6d84f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#### **--cpu-quota**=*limit*

Limit the CPU Completely Fair Scheduler (CFS) quota.

Limit the container's CPU usage. By default, containers run with the full
CPU resource. The limit is a number in microseconds. If a number is provided,
the container will be allowed to use that much CPU time until the CPU period
ends (controllable via **--cpu-period**).

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-cpu-limits-fails-with-a-permissions-error