Problem pulling docker images

Today I have problems with pulling docker images, I tried everything I could find on net, but the problem persist:
Some of my error messages:

Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout

Get https://auth.docker.io/token?scope=repository%3Ainputoutput%2Fcardano-graphql%3Apull&service=registry.docker.io: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

my command is:

export NETWORK=mainnet &&docker pull inputoutput/cardano-graphql:5.1.0-${NETWORK} &&docker pull inputoutput/cardano-graphql-hasura:5.1.0 &&docker pull cardanosolutions/cardano-node-ogmios:v4.0.0-beta.9-${NETWORK} &&RESTORE_SNAPSHOT=https://update-cardano-mainnet.iohk.io/cardano-db-sync/11/db-sync-snapshot-schema-11-block-6278640-x86_64.tgz docker-compose up -d &&docker-compose logs -f

Setup is ubuntu 20.04 fresh install, ryzen 3600, 64 gb ram, internet is 1gb down/512mb up.
Tried setting resolv.conf to 8.8.8.8 and 8.8.4.4, everything is the same…

2 Likes

I have same error,
In one session docker pull works with diffrent result

PS C:\Windows\system32> docker pull ubuntu:latest
Error response from daemon: Head "https://registry-1.docker.io/v2/library/ubuntu/manifests/latest": net/http: TLS handshake timeout
PS C:\Windows\system32> docker pull ubuntu:latest
Error response from daemon: Head "https://registry-1.docker.io/v2/library/ubuntu/manifests/latest": Get "https://auth.docker.io/token?account=maximuk&scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
PS C:\Windows\system32> docker pull ubuntu:latest
latest: Pulling from library/ubuntu
Digest: sha256:a0d9e826ab87bd665cfc640598a871b748b4b70a01a4f3d174d4fb02adad07a9
Status: Image is up to date for ubuntu:latest
docker.io/library/ubuntu:latest
PS C:\Windows\system32> docker pull ubuntu:latest
Error response from daemon: Head "https://registry-1.docker.io/v2/library/ubuntu/manifests/latest": Get "https://auth.docker.io/token?account=maximuk&scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io": net/http: TLS handshake timeout
PS C:\Windows\system32> docker pull ubuntu:latest
latest: Pulling from library/ubuntu
Digest: sha256:a0d9e826ab87bd665cfc640598a871b748b4b70a01a4f3d174d4fb02adad07a9
Status: Image is up to date for ubuntu:latest
docker.io/library/ubuntu:latest
PS C:\Windows\system32> docker pull ubuntu:latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: TLS handshake timeout

I solve this problem for me.
I use docker desktop v for win 10 (v4.1.0 build 69386), and somthing boke in DNS.

Simple specify DNS in docker settings UI. https://i.imgur.com/13kz4wz.png

I am having the same issue. Over 3h now and I can’t make a single build because the TLS handshake times out with the docker hub (https://registry-1.docker.io/v2)…

I’m running:

  • Mac OS Big Sur 11.6
  • Docker for Apple Silicon 4.1.0 (69386)

@maximuk I don’t have an option to set the DNS with latest Docker for Mac.

We’re hitting this issue in our company too, for 24hrs now. Gitlab runners can’t pull images from Docker Hub, and won’t work locally on desktops either - nothing has changed on our network.