seaswalker / posts

0 stars 0 forks source link

Linux安装docker的坑 #63

Open seaswalker opened 5 months ago

seaswalker commented 5 months ago

官方文档: https://docs.docker.com/engine/install/ubuntu/

问题出在: image

解决方案: https://blog.csdn.net/ghostyusheng/article/details/80321483

命令:

curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -

 sudo add-apt-repository \
"deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu \
$(lsb_release -cs) \
stable"
seaswalker commented 5 months ago

报错现象:

 Cannot initiate the connection to download.docker.com:443 (2a03:2880:f12c:183:face:b00c:0:25de). - connect (101: Network is unreachable) Could not connect to download.docker.com:443 (162.125.32.9), connection timed out
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/jammy/InRelease  Cannot initiate the connection to download.docker.com:443 (2a03:2880:f12c:183:face:b00c:0:25de). - connect (101: Network is unreachable) Could not connect to download.docker.com:443 (162.125.32.9), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
Alearngg commented 5 months ago

Cannot initiate the connection to download.docker.com:443 请问以上这个问题解决了吗 (っ °Д °;)っ

seaswalker commented 5 months ago

Cannot initiate the connection to download.docker.com:443 请问以上这个问题解决了吗 (っ °Д °;)っ

解决了涅,你看上面贴的博客地址

Wingslee-CN commented 4 months ago

感谢!