原文:執行docker run命令時報錯Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

一.解決辦法:修改host 二.步驟如下 . 安裝dig工具 sudo apt get install dnsutils y ubuntu下的安裝方法 . 找到registry .docker.io對應的ip地址 jello dig . . . registry .docker.io lt lt gt gt DiG . hello lt lt gt gt . . . registry .docke ...

2019-05-08 12:33 0 6869 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM