I am trying to get docker login auth from ~/.docker/config.json file. But I do not see the auth token in my config.json file. Here is my version of docker.
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 I see
cat .docker/config.json { "auths": { "https://index.docker.io/v1/": {} }, "credsStore": "osxkeychain" }%
According to the Codex documentation I need to see
{ "auths": { "https://index.docker.io/v1/": { "auth": "auth_key", "email": "email" } } }
Can I disable authkey in a keychain?
I really need to get auth_key , how can I get it?
thanks
Gayan source share