更新ubuntu后Docker pull不起作用

更新ubuntu后Docker pull不起作用,docker,Docker,更新到Ubuntu 18.04 LTS后,docker pull不再工作。我得到以下错误: sudo docker pull hello-world Using default tag: latest Error response from daemon: Get https://registry-1.docker.io/v2/: EOF 尝试: 将nameserver 8.8.8.8和nameserver 8.8.4.4添加到/etc/default/docker没有帮助 非常感谢 Dock

更新到Ubuntu 18.04 LTS后,docker pull不再工作。我得到以下错误:

sudo docker pull hello-world
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: EOF
尝试: 将nameserver 8.8.8.8和nameserver 8.8.4.4添加到/etc/default/docker没有帮助

非常感谢

Docker版本17.12.1-ce,版本7390fc6

curl -v 'https://registry-1.docker.io/v2/'
* Trying 130.75.6.113...
* TCP_NODELAY set
* Connected to secure-proxy.bla.de (130.87.6.113) port 3131 (#0)
* allocate connect buffer!
* Establish HTTP proxy tunnel to registry-1.docker.io:443
> CONNECT registry-1.docker.io:443 HTTP/1.1
> Host: registry-1.docker.io:443
> User-Agent: curl/7.58.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 403 Forbidden
< Date: Tue, 26 Jun 2018 08:00:51 GMT
< Server: C-ICAP
< Content-Type: text/html
< Content-Language: en
< X-Cache: MISS from secure-proxy
< X-Cache-Lookup: NONE from secure-proxy:3131
< Transfer-Encoding: chunked
* CONNECT responded chunked
< Via: 1.1 secure-proxy (squid/3.5.19)
< Connection: keep-alive
<
* Received HTTP code 403 from proxy after CONNECT
* CONNECT phase completed!
* Closing connection 0
curl: (56) Received HTTP code 403 from proxy after CONNECT
curl-v'https://registry-1.docker.io/v2/'
*正在尝试130.75.6.113。。。
*TCP_节点集
*已连接到secure-proxy.bla.de(130.87.6.113)端口3131(#0)
*分配连接缓冲区!
*建立到注册表-1.docker.io的HTTP代理隧道:443
>connectregistry-1.docker.io:443http/1.1
>主机:registry-1.docker.io:443
>用户代理:curl/7.58.0
>代理连接:保持活动状态
>
如果您在HTTP或HTTPS代理服务器后面,则需要在Docker systemd服务文件中添加此配置。它在完成此处描述的操作后工作

我们需要更多信息来了解问题所在。当遇到这样的问题时,我会首先尝试了解URL返回的内容,以及这是连接问题还是docker问题。例如,当您尝试此操作时会发生什么情况<代码>curl-v'https://registry-1.docker.io/v2/“我添加了它@mkasbergc有人能帮我吗?