Files
podman/docs/source/markdown/options/cgroups.md
2025-09-23 20:11:56 +08:00

15 lines
726 B
Markdown

####> This option file is used in:
####> podman create, run
####> If file is edited, make sure the changes
####> are applicable to all of those.
#### **--cgroups**=*how*
Determines whether the container creates cgroups.
Default is **enabled**.
The **enabled** option creates a new cgroup under the cgroup-parent.
The **disabled** option forces the container to not create cgroups, and thus conflicts with cgroup options (**--cgroupns** and **--cgroup-parent**).
The **no-conmon** option disables a new cgroup only for the **conmon** process.
The **split** option splits the current cgroup in two sub-cgroups: one for conmon and one for the container payload. It is not possible to set **--cgroup-parent** with **split**.