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": {
        "https://index.docker.io/v1/": {
            "auth": "xxxx",
            "email": "myemail@gmail.com"
        }
    }
}

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.

  • Docker - no such file or directory
  • SSH from Docker image using Drone
  • How to view netstat of a container within another container?
  • Trouble while logging to docker hub registry from bootdocker in windows
  • API server failed to start up
  • Pull, virtualize, and bash into a docker image
  • My Docker version is 1.12.5. Please help!

    Here is example what is happening:
    enter image description here

  • docker-compose scale does not work with haproxy
  • Docker container with Blazegraph Triple Store not working possibly due to networking
  • GitLab CI Runner, how to use volumes or mounts in service containers
  • Host as Pid namespace in Docker
  • How to pass container ip as ENV to other container in docker-compose file
  • How to let the docker container know itself is running with a host network?
  • One Solution collect form web for “Can’t push to docker hub (authentication required)”

    Check status.docker.com

    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.