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