1
jackleel 2021-08-01 10:57:17 +08:00
apt-get update 一下,然后试试安装制定版本的 docker
|
2
AoEiuV020 2021-08-01 10:58:58 +08:00 via Android
系统是 debian ?没试过,但是这种东西只看官网就好,按理说官网几条命令直接复制粘贴就可以,
https://docs.docker.com/engine/install/debian/ |
3
CallmeDredd OP @jackleel 感谢回复
我试了 update,参考了这篇博客 http://www.recall704.com/ops/install-docker-on-debian/尝试安装制定版本的 docker apt install docker-engine=1.12.6-0~debian-jessie,之后提示是这样的 root@ip-172-2*-**-133:~# apt install docker-engine=1.12.6-0~debian-jessie Reading package lists... Done Building dependency tree Reading state information... Done E: Version '1.12.6-0~debian-jessie' for 'docker-engine' was not found |
4
CallmeDredd OP @AoEiuV020 感谢回复
是的,系统是 debian10.8,按照官网的命令和各种“一键安装 docker”都试过了,每次都会提示 no punkey |
5
lysS 2021-08-01 12:09:21 +08:00
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh 这是官方的脚本,出错的话估计你之前折腾把系统环境搞坏了,如果方便可以重置下系统 |
6
CallmeDredd OP @lysS 感谢大佬!!!重置系统果然有效!!!
祝大佬早日暴富!!! |