[Exchange and share] docker或podman安装问题
Tofloor
poster avatar
striver
deepin
2022-11-23 07:44
Author

这两个现在都不能直接用apt安装了……开发安装环境要用到,docker的安装脚本现在都显示deepin不支持了……ERROR: Unsupported distribution 'deepin'

Reply Favorite View the author
All Replies
Jack
deepin
2022-11-23 08:03
#1

从官方文档来看,如果 Debian安装 不行的话,那就只能二进制安装了 。

不过既然 V23自建根系统,可能第一种方法不行。

Reply View the author
fuuko
deepin
2022-11-23 17:04
#2

看能不能把V20的docker-ce的源码包搞过来编一把

Reply View the author
DebuggerX
deepin
2022-11-23 17:50
#3

看这里 1 楼:

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

Reply View the author
吉吉如律令
deepin
2022-11-23 21:59
#4

docker的那个一键安装脚本我也试过,出错的原因是它只适配了一些主流的linux发行版,没有涵盖deepin,docker官方也没有适配deepin,只能按debian的安装方式进行安装,这个是我自己摸索的安装方式,不过有段时间了,不知道还能不能用

sudo apt-get remove docker docker-engine docker.io containerd runc

sudo apt-get install ca-certificates curl gnupg lsb-release

sudo mkdir -p /etc/apt/keyrings

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

##这一步可能会失败,我是直接手动在/etc/apt/sources.list.d里新建了一个docker.list文件,
##文件内容 deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian buster stable 
##也就是下面这个命令引号里的内容
##这里添加的是中科大的镜像源,也可以根据速度换成清华源或者其他
echo "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian buster stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null  

sudo apt-get update ##添加docker.list后必须先更新一下软件源

sudo apt-get install docker-ce docker-ce-cli containerd.io 
Reply View the author
方老四
deepin
2022-11-23 22:56
#5

V23不能安装docker,因为玲珑已经包含了升级的容器技术。

Reply View the author