OCI runtime create failed: this version of runc doesn't work on cgroups v2: unknown
See original GitHub issueI am running Fedora 32, when I execute mvn k8s:build, I get this error:
[ERROR] Failed to execute goal org.eclipse.jkube:kubernetes-maven-plugin:1.0.0-alpha-4:build (default-cli) on project codename: Failed to execute the build: Error while trying to build the image: Unable to build image [codename:0.0.1-SNAPSHOT] : "OCI runtime create failed: this version of runc doesn't work on cgroups v2: unknown" -> [Help 1]
I found a similar issue mentioned in another project, which suggest using podman. So at the end of the day, this may just be a +1 for https://github.com/eclipse/jkube/issues/66 because there may not be much else you can do. https://github.com/jitsi/docker-jitsi-meet/issues/618
At any rate, submitting for the review of those that understand all these moving pieces better than I.
I also found https://github.com/geerlingguy/ansible-role-docker/issues/186 which suggests that the true problem may be an issue with the underlying docker-compose with the version of Fedora I am using.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)

Top Related StackOverflow Question
Then I will close this issue out. Thanks for taking a look.
For anyone in the future, I ran the following command on my localhost fedora instance, and it seems to have resolved the issue.
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"That said, I am uncertain of the consequences of this change, aside from it forced an older version of cgroup. So be warned.
I came here in “the future” via a Google search, thanks. I just want to mention that I solved my problem by using the
podmancommand instead ofdockercommand to start the docker container image.