[software development] Docker一键安装与换源脚本支持国产衍生操作系统
Tofloor
poster avatar
pavel2006
deepin
2025-08-09 16:08
Author

今天在安装1panel时候发现了这个神器,瞬间喜大普奔

用deepin的朋友有很多是非计算机专业,但是出于对国产操作系统的热爱想深入研究,安装docker还是有些难度。

这个docker安装脚本正好解决了这个痛点,我在deepin v25实测可用。

https://linuxmirrors.cn/other/

集成安装 Docker EngineDocker Compose,支持选择或更换软件源以及镜像仓库、安装指定版本、重装等功能,支持 ARM 架构

脚本参考官方文档使用系统包管理工具进行安装,不存在兼容性、安全性等问题,可安装的版本由 Docker CE 仓库决定

bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
#安装完了用这两个命令测试一下,显示版本号就是安装成功了
docker-compose --version
docker --version
Reply Favorite View the author
All Replies
叁陆玖
deepin
2025-08-09 16:23
#1

agree

Reply View the author
酷谷的谷子
deepin
2025-08-09 17:04
#2

这个脚本是很好用

Reply View the author
pavel2006
deepin
2025-08-10 07:55
#3

1panel在deepin默认安装会启动出错,参考下面坛友解决方案tail

https://bbs.deepin.org/post/286688

1panelv2版本修复办法

# 修改服务配置
sudo sed -i 's|/usr/bin/|/var/usrlocal/bin/|g' /etc/systemd/system/1panel-*.service

# 重载
sudo systemctl daemon-reload
# 重启服务
sudo systemctl restart 1panel-agent
sudo systemctl restart 1panel-core
Reply View the author
耀眼的明星
deepin
2025-08-11 08:30
#4

正是我想要的:1panel启动失败,命令启动后无法显示管理网址。我赶紧试试

Reply View the author