Difference between revisions of "Docker credHelpers"
Jump to navigation
Jump to search
↑ https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#use-credential-helpers
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | Docker credHelpers property in <code>[[$HOME/.docker/config.json]]</code> specifies a set of credential helpers to use preferentially over <code>[[credsStore]]</code> or <code>[[auths]]</code> when storing and retrieving credentials for specific registries. | ||
− | * [[GitLab]] | + | |
+ | |||
+ | * [[GitLab Credential Helpers]] | ||
* <code>[[gcloud credential helper]]</code> | * <code>[[gcloud credential helper]]</code> | ||
* <code>[[docker login]]</code> | * <code>[[docker login]]</code> | ||
+ | |||
+ | Example: <ref>https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#use-credential-helpers</ref> | ||
+ | { | ||
+ | "[[credHelpers]]": { | ||
+ | "<aws_account_id>.dkr.ecr.<region>.amazonaws.com": "[[ecr-login]]" | ||
+ | } | ||
+ | } | ||
== Related == | == Related == | ||
+ | * Docker <code>[[credsStore]]</code> | ||
* <code>[[$HOME/.docker/config.json]]</code> | * <code>[[$HOME/.docker/config.json]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{docker config}} | ||
+ | * {{Credential Helpers}} | ||
+ | |||
+ | [[Category:IT]] |
Latest revision as of 22:30, 5 August 2022
Docker credHelpers property in $HOME/.docker/config.json
specifies a set of credential helpers to use preferentially over credsStore
or auths
when storing and retrieving credentials for specific registries.
Example: [1]
{ "credHelpers": { "<aws_account_id>.dkr.ecr.<region>.amazonaws.com": "ecr-login" } }
Related[edit]
See also[edit]
docker config
,~/.docker/config.json, CredsStore, CredHelpers
- Credential Helpers,
credHelpers, credsStore, docker-credential-osxkeychain
Advertising: