Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: net/http: TLS handshake timeout


Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: net/http: TLS handshake timeout

Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.

 

解决办法

  在 vim /etc/docker/daemon.json 添加镜像

  {"registry-mirrors":["https://registry.docker-cn.com","https://pee6w651.mirror.aliyuncs.com"]}

  https://registry.docker-cn.com --------> 国内docker官方中国区

  https://pee6w651.mirror.aliyuncs.com ---------> 阿里云镜像


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM