【已解决】安装了docker但是一直提醒没有安装
宝塔版本8.0.5系统版本Ubuntu20.04
安装了docker但是一直提醒没有安装
尝试一下手动安装:
Ubuntu/Debian
1、删除之前安装的docker
apt-get remove docker docker-engine docker.io
2、安装依赖
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
3、添加信任的依赖(debian)
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
Ubuntu:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4、添加软件仓库(debian)
add-apt-repository \
"deb https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian \
$(lsb_release -cs) \
stable"
Ubuntu:
add-apt-repository \
"deb https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu \
$(lsb_release -cs) \
stable"
5、安装
apt-get update
apt-get install docker-ce 阿珂 发表于 2024-1-17 11:43
尝试一下手动安装:
问题解决,谢谢你
页:
[1]