admin管理员组文章数量:1026989
/ ___| ( _ )/ |___ \
\___ \ / _ \| | __) |
___) | (_) | |/ __/
|____/ \___/|_|_____|
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:~#
搞定。
/ ___| ( _ )/ |___ \
\___ \ / _ \| | __) |
___) | (_) | |/ __/
|____/ \___/|_|_____|
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:~#
搞定。
版权声明:本文标题:玩客云刷机armbian后docker启动不起来,提示bpf_prog_query(BPF_CGROUP_DEVICE) failed 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1738079000a1545880.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论