PINE64
Error running docker on Pinephone with Manjaro (cgroup) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Error running docker on Pinephone with Manjaro (cgroup) (/showthread.php?tid=15704)



Error running docker on Pinephone with Manjaro (cgroup) - bchasnov - 01-06-2022

Hello,


I am running into an error when launching docker on Manjaro. I read on some other forums that it might be an issue with cgroup v2. Not sure how to fix this on the Pinephone.




Error message:


Code:
INFO[2022-01-06T10:06:59.267970912-08:00] shim disconnected                             id=6c95e631b40d83a9868b724490b14eedb608c646f1edbb292fe2806f0af75597
WARN[2022-01-06T10:06:59.268656611-08:00] cleaning up after shim disconnected           id=6c95e631b40d83a9868b724490b14eedb608c646f1edbb292fe2806f0af75597 namespace=moby
INFO[2022-01-06T10:06:59.268802359-08:00] cleaning up dead shim
WARN[2022-01-06T10:06:59.370041508-08:00] cleanup warnings time="2022-01-06T10:06:59-08:00" level=info msg="starting signal loop" namespace=moby pid=4966
ERRO[2022-01-06T10:06:59.373118051-08:00] copy shim log                                 error="read /proc/self/fd/13: file already closed"
ERRO[2022-01-06T10:06:59.376856045-08:00] stream copy error: reading from a closed fifo
ERRO[2022-01-06T10:06:59.377685784-08:00] stream copy error: reading from a closed fifo
WARN[2022-01-06T10:06:59.421226054-08:00] Failed to delete conntrack state for 172.17.0.2: invalid argument
ERRO[2022-01-06T10:06:59.537262095-08:00] 6c95e631b40d83a9868b724490b14eedb608c646f1edbb292fe2806f0af75597 cleanup: failed to delete container from containerd: no such container
ERRO[2022-01-06T10:06:59.537450884-08:00] Handler for POST /v1.41/containers/6c95e631b40d83a9868b724490b14eedb608c646f1edbb292fe2806f0af75597/start returned error: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: bpf_prog_query(BPF_CGROUP_DEVICE) failed: function not implemented: unknown



How to reproduce:




Code:
dockerd &
docker run alpine



Output of /proc/version


Code:
Linux version 5.15.11-1-MANJARO-ARM (builduser@fh-mjr-build-lon-xlarge) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Wed Dec 22 17:45:45 UTC 2021



Thank you for your help.