Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Toolbox Tutorial Client.Timeout exceeded while awaiting headers

I'm following the guide at https://docs.docker.com/get-started/part2/#publish-the-image

Throughout the guide I've had trouble with this error sometimes coming up and sometimes when I rerun the commands they will work.

docker push %username%/%repository%:%tag%

I will get a response of 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)

I'm using Windows Home with Docker Toolbox.

Please let me know if any additional information is needed.

like image 916
Eric Avatar asked Oct 19 '17 03:10

Eric


People also ask

What is client timeout exceeded while awaiting headers?

Timeout exceeded while awaiting headers , it appears a connection error which caused by slow response. You can find similar issue reported here and here. Maybe you can check the DNS resolution or network connection to make sure it can quickly get response.


1 Answers

Simply go to the Docker's Settings > Network and change DNS Server radio button to Fixed

enter image description here

like image 105
Serge Voloshenko Avatar answered Sep 21 '22 03:09

Serge Voloshenko