-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
K3s docker image cannot be run on a cgroup v2 host #4085
Milestone
Comments
This was referenced Sep 27, 2021
This was referenced Sep 28, 2021
Validated this is working with docker install in v1.22.2-rc1+k3s2:
|
ghost
mentioned this issue
Feb 14, 2022
michielboekhoff
added a commit
to michielboekhoff/terraform-provider-kubectl
that referenced
this issue
Sep 7, 2022
This allows running k3s on hosts with cgroup-v2, as per this issue: k3s-io/k3s#4085
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running Docker images on a cgroup v2 host fails:
docker run -it --rm --privileged --name k3s-server-1 --hostname k3s-server-1 rancher/k3s:v1.22.2-k3s1 server
The same happens with v1.21.5.
v1.20.11 throws a stack trace:
@iwilltry42 proposed a fix for this in #3237 that wrapped K3s in a shell entrypoint, but we requested that the code be moved into Go and closed the PR without ever doing so.
The text was updated successfully, but these errors were encountered: