Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgroup2 check list #40360

Closed
7 of 8 tasks
AkihiroSuda opened this issue Jan 10, 2020 · 5 comments
Closed
7 of 8 tasks

cgroup2 check list #40360

AkihiroSuda opened this issue Jan 10, 2020 · 5 comments
Labels
area/cgroup2 cgroup v2 kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny roadmap
Milestone

Comments

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Jan 10, 2020

Low hanging fruits:

related: containerd/containerd#3726 opencontainers/runc#2209

@AkihiroSuda AkihiroSuda added the kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny label Jan 10, 2020
@thaJeztah
Copy link
Member

From slack conversation with @StefanScherer :

I've added the Ubuntu 19.10 machine, you can use label ubuntu-1910 or ubuntu-1910-overlay2 to select this os version. Kernel parameter is set.

So, we can work on having CI running (I'll clean up #40094, and see if I can use that as base, as we may need custom containerd/runc versions for testing)

@AkihiroSuda
Copy link
Member Author

Keeping this issue open seems to have caused confusion that as if cgroup2 isn't supported yet, so I'm closing this one.

What we really still lack is just CI infra for cgroup2

@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Sep 28, 2020

To people who came here: cgroup2 is supported when you run Docker 20 + containerd 1.4 + runc 1.0-rc91.

Docker 20 isn't officially released yet, and its ETA is still unpublished

EDIT: Docker 20.10.0-beta1 is available now: curl -fsSL https://get.docker.com | CHANNEL=test sh

@cwhuang
Copy link

cwhuang commented Dec 3, 2020

Hi, I've succeeded to install docker 20.10.0-rc2 by the above method.

dockerd -v

Docker version 20.10.0-rc2, build ca520bd

However, I still encountered the cgroup issue:
ERRO[2020-12-03T07:56:40.528810125Z] Handler for POST /v1.41/containers/7279876e003f70939afc4b286b0379777355f270be7d801a65d350a49900e9f9/start returned error: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:326: applying cgroup configuration for process caused: open /sys/fs/cgroup/cpuset/docker/cpuset.cpus: no such file or directory: unknown

What's wrong? Do I need any config to tell dockerd to use cgroup2? Thanks!

@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Dec 3, 2020

@cwhuang Please fulfill https://github.com/moby/moby/blob/master/.github/ISSUE_TEMPLATE.md and open a new issue . Also please make sure you have containerd >= 1.4 and runc >= 1.0-rc91.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cgroup2 cgroup v2 kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny roadmap
Projects
None yet
Development

No branches or pull requests

3 participants