玩客云刷机armbian后docker启动不起来,提示bpf_prog_query(BPF_CGROUP_DEVICE) failed

___| ( _ ) |___ ___ _ | | __) |___) | (_) | | __|____ ___|_|_____|Welcome to Armbian 20.12 Bullseye wit

/ ___| ( _ )/ |___ \
\___ \ / _ \| | __) |
 ___) | (_) | |/ __/
|____/ \___/|_|_____|

Welcome to Armbian 20.12 Bullseye with Linux 5.10.61-aml-s812

Linux
aml-s812 5.10.61-aml-s812 #20.12 SMP Thu Sep 2 20:11:09 CST 2021 armv7l GNU/Linux

玩客云刷机armbian后docker启动不起来,提示 error during container init: error setting cgroup config for procHooks process: bpf_prog_query(BPF_CGROUP_DEVICE) failed: function not implemented: unknown

root@aml-s812:/tmp# docker start 7c
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: bpf_prog_query(BPF_CGROUP_DEVICE) failed: function not implemented: unknown
Error: failed to start containers: 7c

解决办法

经查询启用的是cgroup v2版本
直接关掉就好了

修改/boot/uEnv.txt
在启动参数中添加systemd.unified_cgroup_hierarchy=0

重启

root@aml-s812:~# stat -fc %T /sys/fs/cgroup
tmpfs
root@aml-s812:~#

搞定。

发布者:admin,转转请注明出处:http://www.yc00.com/web/1738078999a4022030.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信