Skip to content

Commit e1d173f

Browse files
committed
config-linux: allow lazy cgroup handling
Make explicit that runtimes only have to attach to the bare minimum number of cgroups in order to fulfil the users' requirements. However, runtimes are of course allowed to attach to more than the bare minimum. Signed-off-by: Aleksa Sarai <asarai@suse.de>
1 parent a48d7ca commit e1d173f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config-linux.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ You can configure a container's cgroups via the `resources` field of the Linux c
182182
Do not specify `resources` unless limits have to be updated.
183183
For example, to run a new process in an existing container without updating limits, `resources` need not be specified.
184184

185+
A runtime MUST at least use the minimum set of cgroup controllers required to fulfil the `resources` settings.
186+
However, a runtime CAN decide to not attach to any additional cgroup controllers supported by the system.
187+
185188
#### Device whitelist
186189

187190
`devices` is an array of entries to control the [device whitelist][cgroup-v1-devices].

0 commit comments

Comments
 (0)