Skip to content

Add systemd cgroup path spec #1021

Open
@AkihiroSuda

Description

@AkihiroSuda
Member

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.

Activity

kailun-qin

kailun-qin commented on Aug 5, 2021

@kailun-qin
Contributor

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

AkihiroSuda

AkihiroSuda commented on Aug 5, 2021

@AkihiroSuda
MemberAuthor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @AkihiroSuda@kailun-qin

      Issue actions

        Add systemd cgroup path spec · Issue #1021 · opencontainers/runtime-spec