diff --git a/docs/credential-helpers.md b/docs/credential-helpers.md index 1722906..c86ef7c 100644 --- a/docs/credential-helpers.md +++ b/docs/credential-helpers.md @@ -45,20 +45,22 @@ volumes: helper: {} ``` -and for `.docker/config.yml`: -```yaml +and for `/.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" } } -``` \ No newline at end of file +``` + +*Note:* `osxkeychain` can be changed to your prefered credentials helper.