Skip to content

Commit 4291fd1

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 <[email protected]>
1 parent 0c440a2 commit 4291fd1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

config-linux.md

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

178+
A runtime MUST at least use the minimum set of cgroup controllers required to fulfill the `resources` settings.
179+
However, a runtime MAY attach the container process to additional cgroup controllers supported by the system.
180+
178181
###### Example
179182

180183
```json

0 commit comments

Comments
 (0)