Error “Get https://registry-1.docker.io/v2/: net/http: request canceled” while building image

后端 未结 11 1146
攒了一身酷
攒了一身酷 2020-12-13 19:01

I am getting the below error while building an image

Step 1/10 : FROM ubuntu:14.04
Get https://registry-1.docker.io/v2/: net/http: request canceled while wai         


        
11条回答
  •  星月不相逢
    2020-12-13 19:25

    I face this problem when performing Ansible AWX installation.

    I had my own private DNS :192.168.0.254 & 192.168.0.253 but was receiving same error.

    Issue got resolved after change my DNS back to 8.8.8.8 & 8.8.4.4.

提交回复
热议问题