DEV Community

[Comment from a deleted post]
 
zspine profile image
M#3
  1. Traceroute the domain to find out the ip address of registry-1.docker.io ( 52.93.28.246 )
    image

  2. Open a terminal and try this

sudo nano /etc/hosts

scroll down to the end of the file and add a new entry details

52.93.28.246    registry-1.docker.io

Ctrl + X and save the changes and try the docker commands

Note: If it's not working remove the newly added entry from /etc/hosts before you try anything else.

 
mendoza profile image
David Mendoza (He/Him)

I did it, and sadly no result, still unable to login

 
zspine profile image
M#3

Mhhhhh... really sorry :(