runtime-spec icon indicating copy to clipboard operation
runtime-spec copied to clipboard

Add systemd cgroup path spec

Open AkihiroSuda opened this issue 5 years ago • 2 comments

https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#cgroups-path

The systemd cgroup path convention implemented in runc/crun should be added to the spec.

This convention is becoming important for cgroup v2, because rootless containers depends on systemd for cgroup delegation in most environments.

AkihiroSuda avatar Nov 06 '19 16:11 AkihiroSuda

Do we have any plan to move this forward? Thanks!

kailun-qin avatar Aug 05 '21 09:08 kailun-qin

Thanks for opening #1115, but I meant adding proper spec for the existing implementation of systemd cgroupsPath, e.g. user.slice:nerdctl:deadbeef https://github.com/containerd/nerdctl/blob/07c3ca23743308987aa3b26b1fb7b560804ff9a4/cmd/nerdctl/run_cgroup_linux.go#L53

I didn't mean adding new fields for systemd.

AkihiroSuda avatar Aug 05 '21 11:08 AkihiroSuda