[software development] deepin20.9 安装docker 问题求助
Tofloor
poster avatar
绍贝格尔
deepin
2024-02-02 10:25
Author

按照deepin wiki https://wiki.deepin.org/zh/%E5%BE%85%E5%88%86%E7%B1%BB/02_%E6%8C%89%E8%BD%AF%E4%BB%B6%E5%8A%9F%E8%83%BD%E5%88%92%E5%88%86/03_%E6%9C%8D%E5%8A%A1%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA%E4%BB%8B%E7%BB%8D/02_%E5%AE%B9%E5%99%A8%E5%BC%95%E6%93%8E/Docker%E7%9B%B8%E5%85%B3/Docker

image.png

我按照上面的提示装了,失败了

image.png

Reply Favorite View the author
All Replies
deepin-superuser
deepin
2024-02-02 10:28
#1
wget -q -O - https://mirrors.cloud.tencent.com/docker-ce/linux/debian/gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/docker-keyring.gpg
sudo sh -c 'echo "deb [arch=amd64] https://mirrors.cloud.tencent.com/docker-ce/linux/debian buster stable" > /etc/apt/sources.list.d/docker.list'
sudo update
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Reply View the author
绍贝格尔
deepin
2024-02-02 10:36
#2
deepin-superuser
wget -q -O - https://mirrors.cloud.tencent.com/docker-ce/linux/debian/gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/docker-keyring.gpg
sudo sh -c 'echo "deb [arch=amd64] https://mirrors.cloud.tencent.com/docker-ce/linux/debian buster stable" > /etc/apt/sources.list.d/docker.list'
sudo update
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin

这一堆乱码是装好了,还是失败了
image.png

Reply View the author
deepin-superuser
deepin
2024-02-02 10:44
#3
绍贝格尔

这一堆乱码是装好了,还是失败了
image.png

乱码是第一行执行的结果 你要是不放心的话再执行一下下边三行

然后执行 sudo docker version 确认 docker 有没有安装成功

Reply View the author
绍贝格尔
deepin
2024-02-02 10:55
#4
deepin-superuser
wget -q -O - https://mirrors.cloud.tencent.com/docker-ce/linux/debian/gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/docker-keyring.gpg
sudo sh -c 'echo "deb [arch=amd64] https://mirrors.cloud.tencent.com/docker-ce/linux/debian buster stable" > /etc/apt/sources.list.d/docker.list'
sudo update
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin

感谢大佬

Reply View the author
兆兆嘟嘟嘟
deepin
2024-02-02 13:11
#5

官方软件源里本来就有docker。

Reply View the author
Xplayer
deepin
2024-02-02 15:11
#6

还是下载DEB 包安装方便

Reply View the author
Lwh2008-Equinox
deepin
2024-02-02 15:55
#7

你也可以用官方的安装脚本

Reply View the author
绍贝格尔
deepin
2024-02-02 17:13
#8
兆兆嘟嘟嘟

官方软件源里本来就有docker。

包名是什么

Reply View the author
哦豁
deepin
2024-02-02 17:18
#9
It has been deleted!
哦豁
deepin
2024-02-02 17:19
#10
绍贝格尔

包名是什么

apt list docker 看看

Reply View the author
绍贝格尔
deepin
2024-02-02 17:27
#11
哦豁

apt list docker 看看

ok 就是docker

Reply View the author
哦豁
deepin
2024-02-02 17:27
#12
哦豁

apt list docker 看看

docker.io

Reply View the author