I am new to dockers. When I am running the docker pull sonarqube I am getting the following error.
Error response from daemon: Get https://registry-1.docker.io/v2/: dial TCP: lookup registry-1.docker.io on 192.168.65.1:53: no such host
Can you please let me know why I am getting the error and how can I rectify this.
I was getting the same error. Tried a few things like restarting the server, checking configuration etc... Finally, it got resolved by adding proxies (since I was using it inside my organization network)
In my case on a Mac, only a restart of the docker-machine did the work:
Uninstalling docker did not work! Just the above restart is enough!
I just restarted and it works fine again!
make sure that your server is not located in the following areas:
Things that might work: 1. Check your proxy settings 2. Restart docker 3. Go to your docker settings and check if you're signed in to docker hub, if you aren't, sign in and try again (This worked for me)
Had same issue, I restarted docker and it worked