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:
commit
e16fd74799
@ -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…
Reference in New Issue
Block a user