File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,12 @@ function set_parent_systemd_properties() {
184184}
185185
186186# Randomize cgroup path(s), and update cgroupsPath in config.json.
187- # This function sets a few cgroup-related variables.
187+ # This function also sets a few cgroup-related variables that are used
188+ # by other cgroup-related functions.
189+ #
190+ # If this function is not called (and cgroupsPath is not set in config),
191+ # runc uses default container's cgroup path derived from the container's name
192+ # (except for rootless containers, that have no default cgroup path).
188193#
189194# Optional parameter $1 is a pod/parent name. If set, a parent/pod cgroup is
190195# created, and variables $REL_PARENT_PATH and $SD_PARENT_NAME can be used to
You can’t perform that action at this time.
0 commit comments