mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
tests/int: update set_cgroups_path doc
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -184,7 +184,12 @@ function set_parent_systemd_properties() {
|
||||
}
|
||||
|
||||
# Randomize cgroup path(s), and update cgroupsPath in config.json.
|
||||
# This function sets a few cgroup-related variables.
|
||||
# This function also sets a few cgroup-related variables that are used
|
||||
# by other cgroup-related functions.
|
||||
#
|
||||
# If this function is not called (and cgroupsPath is not set in config),
|
||||
# runc uses default container's cgroup path derived from the container's name
|
||||
# (except for rootless containers, that have no default cgroup path).
|
||||
#
|
||||
# Optional parameter $1 is a pod/parent name. If set, a parent/pod cgroup is
|
||||
# created, and variables $REL_PARENT_PATH and $SD_PARENT_NAME can be used to
|
||||
|
||||
Reference in New Issue
Block a user