-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Container dont start: 'setting cgroup config for procHooks process caused: bpf_prog_query(BPF_CGROUP_DEVICE) failed: operation not permitted: unknown' #3481
Comments
The error itself looks to be coming from runc. I see your kernel version is still the version from buster (4.19), or at least, I think Bullseye uses a 5.x kernel. |
Indeed that was the problem! Thanks for the help! |
Good to hear! |
(Just in case anyone else stumbles across this while googling.. I hit this error running podman containers nested inside systemd-nspawn - the issue was I needed to allow the bpf syscall in the .nspawn file.) |
To people coming from search engines: I want to confirm, that updating the Kernel on my DietPi (based on Raspbian Lite) based Raspberry Pi was the only option to fix this issue. If you are in the same situation as me, you should most likely do the following, if
nano /etc/apt/sources.list.d/raspi.list
deb https://archive.raspberrypi.org/debian/ stretch main ui # old --> Delete this and paste the following line
deb https://archive.raspberrypi.org/debian/ bullseye main ui # new --> This should replace the old line Of course, in your case the old version ( |
Description
After upgrading from Debian 10 to Debian 11, i can't start any container anymore.
Steps to reproduce the issue:
Describe the results you received:
sudo docker run hello-world
The container is created but not started.
sudo docker start test
(Same error when starting any existing container)Describe the results you expected:
The container should start.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (physical):
lsb_release -a
uname -a
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: