嵌入式爱好者

查看: 2015|回复: 1

[Linux] RK3568 安装docker-ce失败

[复制链接]

1

主题

1

帖子

7

积分

RK3568通行证RK3588通行证

扫一扫,手机访问本帖
发表于 2024-1-8 11:03:18 | 显示全部楼层 |阅读模式
根据RK3568开发板应用手册,安装docker-ce,到最后安装的步骤报错,docker无法启动。试了不少方法,还没找到问题。

Installing new version of config file /etc/default/docker ...
Installing new version of config file /etc/init.d/docker ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "restart" failed.
● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Mon 2024-01-08 10:55:41 CST; 21ms ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
    Process: 19500 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited,
   Main PID: 19500 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Setting up pigz (2.4-1) ...
Setting up docker-ce-rootless-extras (5:24.0.7-1~ubuntu.20.04~focal) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.21) ...
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

log.rar

1.77 KB, 下载次数: 2, 下载积分: 贡献 1

docker日志

回复

使用道具 举报

0

主题

124

帖子

668

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3399通行证LS1028A通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证

发表于 2024-1-8 16:29:59 | 显示全部楼层
修改/源码/kernel/arch/arm64/configs/OK3568-C-linux_defconfig,在最后添加
CONFIG_MEMCG=y
CONFIG_VETH=y
CONFIG_BRIDGE=y
CONFIG_BRIDGE_NETFILTER=y
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NETFILTER_XT_MATCH_IPVS=y
CONFIG_NETFILTER_XT_MARK=y
CONFIG_POSIX_MQUEUE=y
CONFIG_CGROUP_BPF=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_NETFILTER_XTABLES=y
CONFIG_IP_VS=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
之后再编译烧写测试下
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-20 17:21

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表