我跟着https://docs.docker.com/get-started/part2/#publish-the-image的导游走
在整个指南中,我遇到了这个错误,有时会出现,有时当我重新运行命令时,它们会工作。
docker push %username%/%repository%:%tag%
我会得到Using default tag: latest Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
的回复
我正在使用Windows和。
如果需要更多的信息,请告诉我。
发布于 2017-10-24 05:53:18
发布于 2018-03-22 02:10:58
只需转到Docker的Settings
> Network
并将DNS服务器单选按钮更改为Fixed
发布于 2018-04-16 20:01:25
不幸的是,上面的答案对我的情况没有帮助,但是重新启动Docker做到了。
https://stackoverflow.com/questions/46822391
复制相似问题