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
Client:
 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

Server:
 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

  • How to connect docker container via ssh?
  • Debate on using heavy duty java rest service on docker, should we switch?
  • How to grant privileges on mysql from Dockerfile?
  • Package.json not found while running inside docker
  • How to use a separate file system for the Docker daemon related files at start up on AWS EC2
  • How to share volumes across multiple hosts in docker engine swarm mode?
  • cat .docker/config.json
    {
        "auths": {
            "https://index.docker.io/v1/": {}
        },
        "credsStore": "osxkeychain"
    }%
    

    According to Codeship documentation I should have to see

    {
        "auths": {
            "https://index.docker.io/v1/": {
                "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

  • Restart docker container from another container
  • Get docker swarm manager node from jenkins job
  • Dockerfile ONBUILD instruction
  • Which is the best way to pass AWS credentials to Docker container?
  • Use zabbix inside a Dockercontainer to monitor a server
  • mysql_upgrade failed - innodb tables doesn't exist?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.