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

  • What is the exact difference between SizeRootFs and SizeRw in Docker containers?
  • Raspberry pi zero Docker can't start container
  • Restore SQL Server database to Linux Docker
  • Use host networking and additional networks in docker compose
  • Docker Orchestration Tools
  • Docker exec npm command
  • 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

  • “AH01071: Got error 'Unable to open primary script”: Container permissions or Symfony3 issue?
  • Dockerfile: understanding VOLUME instruction
  • vuejs application does not run with dockerized npm
  • How do you put your source code into Kubernetes?
  • Do Docker Linux Images Contain Kernels?
  • Getting the latest version of Android SDK for Ubuntu using wget
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.