summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-create.1.md
diff options
context:
space:
mode:
authorJordan Christiansen <xordspar0@gmail.com>2020-10-24 22:35:29 -0500
committerJordan Christiansen <xordspar0@gmail.com>2020-10-27 10:05:43 -0500
commitf393d32e9612b5ce140671ba3767e67d45b0d7fe (patch)
tree8a47668fa80e65d862e55a91816614f2cbc065e8 /docs/source/markdown/podman-create.1.md
parent6fa6470d24231dccafbf4396e7cb798a906af522 (diff)
downloadpodman-f393d32e9612b5ce140671ba3767e67d45b0d7fe.tar.gz
podman-f393d32e9612b5ce140671ba3767e67d45b0d7fe.tar.bz2
podman-f393d32e9612b5ce140671ba3767e67d45b0d7fe.zip
Document how to enable CPU limit delegation
Signed-off-by: Jordan Christiansen <xordspar0@gmail.com>
Diffstat (limited to 'docs/source/markdown/podman-create.1.md')
-rw-r--r--docs/source/markdown/podman-create.1.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-create.1.md b/docs/source/markdown/podman-create.1.md
index 1f229a3a0..a5622e0df 100644
--- a/docs/source/markdown/podman-create.1.md
+++ b/docs/source/markdown/podman-create.1.md
@@ -107,6 +107,10 @@ Limit the CPU CFS (Completely Fair Scheduler) period
Limit the container's CPU usage. This flag tell the kernel to restrict the container's CPU usage to the period you specify.
+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/master/troubleshooting.md#26-running-containers-with-cpu-limits-fails-with-a-permissions-error
+
**--cpu-quota**=*limit*
Limit the CPU CFS (Completely Fair Scheduler) quota
@@ -115,6 +119,10 @@ Limit the container's CPU usage. By default, containers run with the full
CPU resource. This flag tell the kernel to restrict the container's CPU usage
to the quota you specify.
+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/master/troubleshooting.md#26-running-containers-with-cpu-limits-fails-with-a-permissions-error
+
**--cpu-rt-period**=*microseconds*
Limit the CPU real-time period in microseconds
@@ -171,6 +179,10 @@ PID container CPU CPU share
Number of CPUs. The default is *0.0* which means no limit.
+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/master/troubleshooting.md#26-running-containers-with-cpu-limits-fails-with-a-permissions-error
+
**--cpuset-cpus**=*cpus*
CPUs in which to allow execution (0-3, 0,1)