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: {}
```
and for `.docker/config.yml`:
```yaml
and for `<PATH_TO_HOME_DIR>/.docker/config.json`:
```json
{
"HttpHeaders" : {
"User-Agent" : "Docker-Client/19.03.1 (XXXXXX)"
},
"credsStore" : "osxkeychain", // ...or your prefered helper
"credsStore" : "osxkeychain",
"auths" : {
"xyzxyzxyz.dkr.ecr.eu-north-1.amazonaws.com" : {},
"https://index.docker.io/v1/": {}
},
"credHelpers": {
"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