Problem scenario
“docker login” is challenging you for a username and password. But after you enter the credentials and press enter, it hangs. You are not logging into the Docker registry. What is wrong?
Solution
It may be surprising, but you can be challenged for a username and password when the Docker registry is turned off. If a firewall blocks a necessary port to the Docker registry or if the Docker registry’s server is off completely,
…
