Merge pull request #420 from jnidzwetzki/bugfix-doc-credential

Small documentation bugfix - Page credential-helpers
pull/421/head
Simon Aronsson 5 years ago committed by GitHub
commit e16fd74799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,20 +45,22 @@ volumes:
helper: {} helper: {}
``` ```
and for `.docker/config.yml`: and for `<PATH_TO_HOME_DIR>/.docker/config.json`:
```yaml ```json
{ {
"HttpHeaders" : { "HttpHeaders" : {
"User-Agent" : "Docker-Client/19.03.1 (XXXXXX)" "User-Agent" : "Docker-Client/19.03.1 (XXXXXX)"
}, },
"credsStore" : "osxkeychain", // ...or your prefered helper "credsStore" : "osxkeychain",
"auths" : { "auths" : {
"xyzxyzxyz.dkr.ecr.eu-north-1.amazonaws.com" : {}, "xyzxyzxyz.dkr.ecr.eu-north-1.amazonaws.com" : {},
"https://index.docker.io/v1/": {} "https://index.docker.io/v1/": {}
}, },
"credHelpers": { "credHelpers": {
"xyzxyzxyz.dkr.ecr.eu-north-1.amazonaws.com" : "ecr-login", "xyzxyzxyz.dkr.ecr.eu-north-1.amazonaws.com" : "ecr-login",
"index.docker.io": "osxkeychain" // ...or your prefered helper "index.docker.io": "osxkeychain"
} }
} }
``` ```
*Note:* `osxkeychain` can be changed to your prefered credentials helper.

Loading…
Cancel
Save