So recently I have been experiencing an error while logging into my docker-desktop so I tried logging into my docker-desktop of my Mac m1 through CLI cmd and the desktop but still, I am not able to log in to it. I tried using the cmd
docker login -u username -p password
but still i am getting an error here’s the error log **Error response from daemon: Get "https://registry-1.docker.io/v2/": dialing registry-1.docker.io:443 with direct connection: connecting to 54.196.99.49:443: dial tcp 54.196.99.49:443: connect: network is unreachable**
Not really. I could never help with these Docker Desktop network issues honestly. I tried to reproduce the issue for an hour, but I failed. There were many similar network issue son this forum. You could try to search for the error message “network is unreachable” in the Docker Desktop categories, escpecially in the Docker Desktop for Mac category to find one where it was solved.
In general, proxies, VPNs could cause these, but in case of Docker Desktop, I’m not sure. I even chose the same network in the Docker Desktop settings as I have on the host, which would make it impossible to communicate with the host, but the docker pull command still worked.
You could try to completely reinstall Docker Desktop and don’t forget to delete $HOME/.docker either.