summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/cgroups.md
blob: 0dbbb15f37cb3755e6b4f2f93a76499d9dab2740 (plain)
1
2
3
4
5
6
7
8
9
10
#### **--cgroups**=*how*

Determines whether the container will create CGroups.

Default is **enabled**.

The **enabled** option will create a new cgroup under the cgroup-parent.
The **disabled** option will force 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**.