Skip to content

Commit 083f23e

Browse files
committed
runtime: Clarify cgroup cleanup on 'delete'
Expanding on the creater-owns-the-resource cases from the previous commit. Signed-off-by: W. Trevor King <[email protected]>
1 parent 2e71558 commit 083f23e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Resources associated with the container, but not created by this container, MUST
129129
On Linux, [`mounts`](config.md#mounts), [`root`](config.md#root), [`linux.devices`](config-linux.md#devices), and other filesystem changes belong to the container which created the [container mount namespace][container-namespace3].
130130
If a container joins an existing mount namespace and applies those settings, deleting the container MUST NOT reverted the settings.
131131
Similarly [`hostname`](config.md#hostname) changes belong to the container which created the container UTS namespace.
132+
[`linux.resources`](config-linux.md#control-groups) settings belong to the container which created the associated cgroup.
132133

133134
## Hooks
134135
Many of the operations specified in this specification have "hooks" that allow for additional actions to be taken before or after each operation.

0 commit comments

Comments
 (0)