1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-01-08 15:06:10 +02:00

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

Small documentation bugfix - Page credential-helpers
This commit is contained in:
Simon Aronsson 2019-12-25 13:40:34 +01:00 committed by GitHub
commit e16fd74799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.