Can’t push to docker hub (authentication required)

I’ve just installed Docker on Windows 10 few days ago. Seems I am able to login to my Docker Hub repo (by entering winpty docker login in my git-bash on windows). It says “Login succeded”. But after I try to push (docker push myrepo/myproject:sometag) it says finally “authentication required”. I’ve googled and researched yesterday whole of the day about this (also on stackoverflow), but no help. Various advices that looked promising just did not help in my occasion. I understand problem is probably somewhere in Users/MyName/.docker/config.json. I’ve noticed that file is not the same as in boot2docker (version for windows 7). And in Windows 7 (which I use at my home) push works perfect. I must also say that I am running docker on Windows 10 behind corporate proxy. And proxy is set as it should be. I can even run maven commands behind proxy when doing docker build. It’s doing perfect. But I just can’t make push to docker hub repo.
Can you give me advice what to do? I’ve run out of options. Login works, but not push. This is how my Users/MyName/.docker/config.json looks like:

    "auths": {
        "": {
            "auth": "xxxx",
            "email": ""

Can you tell me about auth variable? I think maybe problem is in it. I would like to generate it by myself if there maybe where problem lies. As I’ve read, it is username:pass base64 hash. But I’m not sure if that is correct. Or some more params are missing. As I said, config.json is a lot different in boot2docker version.I’m stuck on this and just can’t go further.

  • How to change propagation on mounted volumes in docker
  • How to connect with JMX from host to Docker container in Docker machine?
  • Select Node variables LISTEN and SERVER through a docker image
  • Local development with docker - do I need 2 Dockerfiles?
  • Communication between linked docker containers
  • Docker error while PULL - Error downloading dependent layers
  • My Docker version is 1.12.5. Please help!

    Here is example what is happening:
    enter image description here

  • Remote Docker and volume binding
  • Auditing in a SQL Server Docker Container
  • alpine package py-pip missing
  • Wasabi API over HTTPS instead of HTTP
  • Error initialising MongoDB replica set in Docker container
  • How to make MySQL container run in the background when configured in docker-compose
  • One Solution collect form web for “Can’t push to docker hub (authentication required)”


    they are in the middle of the incident

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.