Unable to install docker connector on my centos 7 server.
Error message was:
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 192.168.0.91:50321->192.168.0.1:53: i/o timeout.
See 'docker run --help'.
Please advise what I should do to install Twingate on my server. Thanks so much in advance
If you try running curl https://registry-1.docker.io/v2/" do you get a response or does it time out? How about curl https://www.google.com? It seems like there might be a DNS resolution or connectivity issue with your machine.
So I also get the same 401 response if I curl it from the CLI. If you attempt to install the connector again do you get the same message about i/o timeout again/consistently?
Thanks, Arthur, but yes I have been facing the error. I have tried uninstalling and removing docker from my Centos7 VM but still face the same error when I reinstalled Docker and tried pulling Twingate from Docker
Hi Arthur, current build is Docker version 24.0.5, build ced0996 but I just ran a yum update command and is now Docker version 24.0.6, build ed223bc. Will test it out again to see if I can pull Twingate image from docker.
I see a DNS problem. Your Docker client is on 192.168.0.91, and it’s asking 192.168.0.1 to do a DNS lookup for it. That lookup is failing: “i/o timeout”
Is that the right DNS server for the network? If yes, is that DNS service up and working?
Quick and dirty workaround would be to give your Docker host a 2nd DNS server to query. It appears to only have one, it’s not working, and the effort has to fail there.
Thanks so much for pointing out the error. I have modified my DNS IP address but still encounter the same error. My VM runs on a bridge network with my server and shares the same IP address of 192.168.0.91. The server is connected to my router which has an IP address of 192.168.0.1.
I have attached the DNS configuration of my Centos VM.
This is my /etc/sysconfig/network-scripts/ifcfg-eth0
This is my /etc/resolv.conf file:
; generated by /usr/sbin/dhclient-script
nameserver 192.168.0.91
nameserver 192.168.0.1
I still get the error message of:
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 192.168.0.91:59976->192.168.0.1:53: i/o timeout.
See 'docker run --help'.
Thanks so much in advance and hope to hear from you soon.