Hi,
I am struggling with an issue that is driving me crazy. I searched the web for an answer but cannot find anything that can solve the issue. I hope someone will be able to help me with this one.
I am running a clean install on a Raspberry Pi 4 with Raspberry Pi OS Lite 12 (bookworm).
I followed Docker’s documentation to install Docker using the apt repository. I also followed the Post-installation steps for Linux.
The install went well and I successfully ran docker run hello-world
at the end of the process.
I am then launching my docker-compose file which also runs fine.
In other words, my setup works as expected.
Now, after a while, every time I try to restart a container or run docker compose up -d
I get the following issue on the container I want to restart or that is new
Error response from daemon: Cannot restart container XXX: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: unable to start unit “docker-XXX.scope” (properties [{Name:Description Value:“libcontainer container XXX”} {Name:Slice Value:“system.slice”} {Name:Delegate Value:true} {Name:PIDs Value:@au [2729]} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Value:false}]): The permission of the setuid helper is not correct: unknown
Where XXX is a sequence of alphanumeric characters - probably some kind of id of the container.
Once a container is down after this error, it is impossible to restart it unless I kill all the container and launch everything back using the following commands:
docker compose down
docker compose up
Which correctly relaunches all containers.
I also noticed that after this error popped up, when rebooting my RPi using sudo reboot
, I get the following message (although the pi does reboot):
Failed to set wall message, ignoring: The permission of the setuid helper is not correct
Call to Reboot failed: The permission of the setuid helper is not correct
which seems related as it also mentions the setuid helper.
I did not perform any action other than installing Docker and run my docker compose config after the fresh install on the Pi.
Any help would be greatly appreciated. Thanks!
- OS Version/build
Raspberry Pi OS 12 (bookworm) - arm64 - App version
Docker version 27.5.1, build 9f9e405
Docker Compose version v2.32.4