Search notes:

~/.docker/config.json

$ cat ~/.docker/configjson
{
        "auths": {
                "container-registry.oracle.com": {
                        "auth": "…"
                }
        }
}
Use jq to read specific values in the config.json file:
$ jq -r '.auths."container-registry.oracle.com".auth' ~/.docker/config.json | base64 --decode

See also

docker login

Index