野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1239|回复: 5

[求助] 鲁班猫-1 在ubuntu 20 上安装 docker 报错

[复制链接]
发表于 2025-8-9 17:52:09 | 显示全部楼层 |阅读模式
报错信息
cat@lubancat:~/docker$ sudo sh get-docker.sh --mirror Aliyun
# Executing docker install script, commit: bedc5d6b3e782a5e50d3d2a870f5e1f1b5a38d5c

DEPRECATION WARNING
    This Linux distribution (ubuntu focal) reached end-of-life and is no longer supported by this script.
    No updates or security fixes will be released for this distribution, and users are recommended
    to upgrade to a currently maintained version of ubuntu.

Press Ctrl+C now to abort this script, or wait for the installation to continue.
+ sh -c apt-get -qq update >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get -y -qq install ca-certificates curl >/dev/null
+ sh -c install -m 0755 -d /etc/apt/keyrings
+ sh -c curl -fsSL "https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg" -o /etc/apt/keyrings/docker.asc
+ sh -c chmod a+r /etc/apt/keyrings/docker.asc
+ sh -c echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/docker.asc] https://mirrors.aliyun.com/docker-ce/linux/ubuntu focal stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get -qq update >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get -y -qq install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin docker-model-plugin >/dev/null
E: Unable to locate package docker-model-plugin


回复

使用道具 举报

发表于 2025-8-12 13:41:58 | 显示全部楼层
应该是镜像源的问题吧,没找到对应的包。
换源后手动执行一下 apt-get -y -qq install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin docker-model-plugin 验证
回复 支持 反对

使用道具 举报

 楼主| 发表于 2025-8-12 15:03:39 | 显示全部楼层
已经是阿里云的源了
局部截取_20250812_150320.png
回复 支持 反对

使用道具 举报

发表于 2025-8-14 09:10:52 | 显示全部楼层
l1358613 发表于 2025-8-12 15:03
已经是阿里云的源了

https://github.com/docker/docker-install/pull/495
用这个方法安装试试吧,这个报错就是阿里的源上面没有plugin这个包
回复 支持 反对

使用道具 举报

 楼主| 发表于 2025-8-14 18:45:40 | 显示全部楼层
使用 https://www.cnblogs.com/surplus/p/11367556.html 方法装上了docker  又报
failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to create NAT chain DOCKER: iptables failed: iptables --wait -t nat -N DOCKER: iptables v1.8.2 (nf_tables):  CHAIN_ADD failed (No such file or directory): chain PREROUTING
我也是服了,算懒得重装系统,麻烦官方把 教程写清楚一点好吗,至少把能安装镜像版本写一下
局部截取_20250814_184324.png
回复 支持 反对

使用道具 举报

发表于 2025-8-18 09:35:43 | 显示全部楼层
l1358613 发表于 2025-8-14 18:45
使用 https://www.cnblogs.com/surplus/p/11367556.html 方法装上了docker  又报
failed to start daemon: ...

你这个是什么时候的文档?怎么感觉是以前的。
还有猫1的话去安装docker.io,docker-ce是用不了的。
回复 支持 反对

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2025-12-5 15:06 , Processed in 0.105897 second(s), 35 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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