|
【Linux】
debian11公版固件docker run报错
发表于 2022-8-2 21:09:38
浏览:6233
|
回复:3
打印
只看该作者
[复制链接]
楼主
问题描述及复现步骤:
- root@firefly:~# docker run --rm hello-world
- docker: Error response from daemon: 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.
复制代码 安装的docker先是因为iptables用的nft实现启动不成功,我重新制定了iptables到 legacy实现的软连接,docker终于启动好。
- root@firefly:~# docker info
- Client:
- Context: default
- Debug Mode: false
- Plugins:
- app: Docker App (Docker Inc., v0.9.1-beta3)
- buildx: Docker Buildx (Docker Inc., v0.8.2-docker)
- compose: Docker Compose (Docker Inc., v2.6.0)
- Server:
- Containers: 4
- Running: 0
- Paused: 0
- Stopped: 4
- Images: 4
- Server Version: 20.10.17
- Storage Driver: overlay2
- Backing Filesystem: extfs
- Supports d_type: true
- Native Overlay Diff: true
- userxattr: false
- Logging Driver: json-file
- Cgroup Driver: cgroupfs
- Cgroup Version: 2
- Plugins:
- Volume: local
- Network: bridge host ipvlan macvlan null overlay
- Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
- Swarm: inactive
- Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
- Default Runtime: runc
- Init Binary: docker-init
- containerd version: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
- runc version: v1.1.2-0-ga916309
- init version: de40ad0
- Security Options:
- seccomp
- Profile: default
- cgroupns
- Kernel Version: 5.10.66
- Operating System: Debian GNU/Linux 11 (bullseye)
- OSType: linux
- Architecture: aarch64
- CPUs: 8
- Total Memory: 15.33GiB
- Name: firefly
- ID: FIP4:P4G3:PJYK:WRSH:FIZY:7AMT:OJ74:EAX4:QZU2:Y7MZ:ZWTJ:4PHF
- Docker Root Dir: /userdata/docker
- Debug Mode: false
- Registry: https://index.docker.io/v1/
- Labels:
- Experimental: false
复制代码
但是运行镜像时报 bpf_prog_query 错误,请问公版有适配docker的么?
|
|