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 automate Grunt on a Docker image
  • How do I get an exit code from an Amazon ECS Task?
  • Kubernetes: Docker pod starting fails except one
  • MySQL databases are gone when the docker container is shutdown
  • Docker save image to tar through remote API
  • Docker - Build rpi image on Mac
  • My Docker version is 1.12.5. Please help!

    Here is example what is happening:
    enter image description here

  • Vagrant docker provisioning with env variables and network
  • Nginx with docker not working for web application
  • Docker Compose Shared Folder
  • What are the default tcp ports used by GridGain
  • Can Windows Containers be hosted on linux?
  • how to get container name from inside?
  • 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.