-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[error] OCI runtime create failed: setting cgroup config for procHooks process caused: load program: invalid argument #2959
Comments
|
Do you know whether this is specific to ARM? |
|
I wonder if the issue is that cgroupv2 bpf rules aren't supported with the Arch Linux ARM kernel builds? Their kernel is missing EDIT: Nope, their kernel config has EDIT: Oh, your kernel version is 4.9.x not the latest one. @paulohefagundes are you using a custom config or custom kernel? |
|
Yeah we don't do hybrid mode cgroups -- so we require having all the necessary features for cgroupv2 or just use cgroupv1. |
|
thank you guys for helping out. Thanks for your info I figured I could workaround and downgrade to cgroup v1 by adding |
|
I am having the same issue, except running on a newer kernel (5.16.0) and setting journalctldocker versiondocker inforunc debug |
This error is different from the OP. Please make sure your kernel is built with |
|
@AkihiroSuda The odd thing is, it is: |
|
You need CONFIG_BPF_SYSCALL=y. |
Aha! Thanks, will try that |
Our BuildKite host's kernel is old, but runc somehow uses cgroup v2. While we should fix runc, we'd like to workaround the issue to unblock us. opencontainers/runc#2959 Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
Force cgroup v1 usage since some runc apps like docker 20.10+ cannot run on rockchip with cgroup v2 enabled. (It generates BPF related issues, see opencontainers/runc#2959) This is a workaround until a proper fix is submitted. Tested on Asus Tinkerboard with current stable kernel.
Force cgroup v1 usage since some runc apps like docker 20.10+ cannot run on rockchip with cgroup v2 enabled. (It generates BPF related issues, see opencontainers/runc#2959) This is a workaround until a proper fix is submitted. Tested on Asus Tinkerboard with current stable kernel.
Hello, I just upgraded Arch Linux ARM yesterday and after rebooting I can no longer run docker containers and I'm wondering if anyone can help
error
journalctl logs for docker.service when the above command is run
docker version
docker info
runc --debug
I also posted this question on the Arch Linux ARM forums
The text was updated successfully, but these errors were encountered: