Difference between revisions of "Docker credHelpers"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
Docker credHelpers property in <code>[[$HOME/.docker/config.json]]</code> specifies a set of credential helpers to use preferentially over credsStore or auths when storing and retrieving credentials for specific registries.
+
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.
  
  

Revision as of 22:11, 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

See also

  • https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#use-credential-helpers
  • Advertising: