我的tinkerboard刷armbia22.11后,发现docker一直报错,后面找了许多页面终于解决了,原因是docker使用了cgroup v2,但是armbian内核可能有点问题,需要修改强制使用cgroup v1.
报错内容:
系统:
Linux tinkerboard 5.15.80-rockchip #22.11.1 SMP PREEMPT Wed Nov 30 11:05:19 UTC 2022 armv7l armv7l armv7l GNU/Linux
报错:
docker: Error response from daemon: 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: load program: invalid argument: unknown.
修改/boot/armbianEnv.txt
,将以下内容添加到最后一行,我仅在tinkerboard实验可行。
extraargs=systemd.unified_cgroup_hierarchy=0
本文作者:风雪,转载时请注明本文出处:https://www.fxnetw.com/87.html
共
0
条评论