docker pull始终返回“ TLS握手超时” 错误

问题描述

我正在使用ubuntu 20.04安装的docker。在docker尚未返回该错误之前,但是今天我想拉一个位偏位的图像并始终返回错误,每个图像都相同。

enter image description here

但是我使用curl https://registry-1.docker.io没有错误返回,

我的网络从Google驱动器中下载某些内容很快

错误

docker pull hello-world
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout
~#curl https://registry-1.docker.io/v2/
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}

~#docker version
Version:           19.03.13
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        4484c46d9d
 Built:             Wed Sep 16 17:02:52 2020
 OS/Arch:           linux/amd64
 Experimental:      false
...

对不起,我的英语不好

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)