|
g := fmt.Sprintf("/user.slice/user-%d.slice", rootlessutil.ParentEUID()) |
|
controllers="/sys/fs/cgroup/user.slice/user-${id}.slice/user@${id}.service/cgroup.controllers" |
The cgroup path must not be hardcoded, as the path may differ on WSL2 since WSL2.9.
Help wanted from WSL2 users.
nerdctl/pkg/infoutil/infoutil_linux.go
Line 144 in 833c457
nerdctl/pkg/cmd/container/run_cgroup_linux.go
Line 238 in 833c457
nerdctl/extras/rootless/containerd-rootless-setuptool.sh
Line 115 in 833c457
The cgroup path must not be hardcoded, as the path may differ on WSL2 since WSL2.9.
user.sliceis at the cgroup v2 root, breaking under nested systemd cgroup hierarchies (e.g., on WSL 2.9) moby/moby#53531Help wanted from WSL2 users.