Docker login auth token

I’m trying to get docker login auth from ~/.docker/config.json file.
But I can’t see auth token in my config.json file.
Here is my docker version.

docker version
 Version:      17.03.1-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Tue Mar 28 00:40:02 2017
 OS/Arch:      darwin/amd64

 Version:      17.03.1-ce
 API version:  1.27 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Fri Mar 24 00:00:50 2017
 OS/Arch:      linux/amd64
 Experimental: true

When I run cat ~/.docker/config.json then what I can see is

  • Docker for mac - Not able to connect to a mongo replica set running on host from inside the container
  • Manually installing SonarQube plugins on Docker image
  • Why does building from a docker file take up all the disk space?
  • Basic Dockerfile not running CMD command
  • Dockerfile: Docker build can't download packages: centos->yum, debian/ubuntu->apt-get behind intranet
  • How to build your own MeanJS Docker image?
  • cat .docker/config.json
        "auths": {
            "": {}
        "credsStore": "osxkeychain"

    According to Codeship documentation I should have to see

        "auths": {
            "": {
                "auth": "auth_key",
                "email": "email"

    Can I disable storing my authkey in keychain?

    I really need to get auth_key, how can I get that?

    Thank you

  • Updating wordpress plugins inside a docker container
  • boot2docker - An error occurred trying to connect when running docker version command
  • Docker CMD doesn't see installed components
  • Convert Docker Compose to a service create command
  • Running JUnit Tests in parallel with Docker
  • Selenium tests with dockers or without
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.