-
-
Notifications
You must be signed in to change notification settings - Fork 479
Closed
Description
Hi, I want to report minor issue.
I just found out that cgroupdriver is hardcoded to cgroupfs
colima/environment/container/docker/daemon.go
Lines 42 to 47 in 9d0de69
// enable cgroupfs for k3s (if not set by user) | |
if _, ok := conf["exec-opts"]; !ok { | |
conf["exec-opts"] = []string{"native.cgroupdriver=cgroupfs"} | |
} else if opts, ok := conf["exec-opts"].([]string); ok { | |
conf["exec-opts"] = append(opts, "native.cgroupdriver=cgroupfs") | |
} |
The effect is that docker will create cgroup directly under the root cgroup
This is a violation of the systemd contract https://systemd.io/CGROUP_DELEGATION/
we need to set native.cgroupdriver=systemd
if the system is using systemd, but it is not configurable now because it is hardcoded
Metadata
Metadata
Assignees
Labels
No labels