Traceroute the domain to find out the ip address of registry-1.docker.io ( 52.93.28.246 )
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.
I did it, and sadly no result, still unable to login
Mhhhhh... really sorry :(
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Traceroute the domain to find out the ip address of registry-1.docker.io ( 52.93.28.246 )

Open a terminal and try this
scroll down to the end of the file and add a new entry details
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.
I did it, and sadly no result, still unable to login
Mhhhhh... really sorry :(