I faced similar issue. I logged in using the full locker login command and issued the push command right after login. It did not ask me to re-enter the credentials. Did you push right after the login?
Did you ever determine the cause of this issue? I’m a new user and I’m experiencing the same issue. Any workarounds?
Edit: When I use the full command (docker login -u XXX -p XXX -e XXX), it says login successful. However, when I try to push to my repository, it still requires a login (and appears to hang unless I do CTRL+C).
I decided to try a different terminal console and it appears to work. Here’s what I did:
Now I see the error:
Please login prior to push:
Username ():
WARNING: login credentials saved in C:\Users<userid>.docker\config.json
Login Succeeded
The push refers to a repository [docker/docker-whale] (len: 1)
b9253bc24645: Image push failed
Error pushing to registry: Authentication is required.
I will have to do some research to find out why I’m receiving this.