Linux repositories inspector




Amazon ECR Credential Helper for Docker


docker-credential-ecr-login - Amazon ECR Credential Helper for Docker


docker-credential-ecr-login COMMAND
docker-credential-ecr-login -v


The Amazon ECR Credential Helper for Docker is a credential helper for the docker(1) command that makes it easier to use Amazon Elastic Container Registry.


Place the docker-credential-ecr-login binary on your PATH and set the contents of your ~/.docker/config.json to be
With Docker 1.13.0 or greater, you can configure Docker to use different credential helpers for different registries. To use this credential helper for a specific ECR registry, create a credsHelper section with the URI of your ECR registry:
  "credHelpers": {
Once installed, you may use docker pull and docker push with ECR repositories, without running docker login.


The credential helper reads AWS credentials from standard locations, including environment variables, the shared credentials file (~/.aws/credentials), EC2 instance profiles, and ECS task roles.
To use credentials associated with a different named profile in the shared credentials file, you may set the AWS_PROFILE environment variable.
To use credentials from an assumed role, you must set the AWS_SDK_LOAD_CONFIG environment variable to true.


-v Print the version and git commit used to build docker-credential-ecr-login


get Retrieve credentials for a specific Amazon ECR registry. The registry should be passed to the credential helper via stdin(3) and results will be printed to stdout(3)
list Retrieve the names of each registry currently known to the helper. The helper will cache the names of all requested registries and return them here.
version Return the version of the credential helper protocol implemented by this helper
store This command is not implemented and is a no-op.
erase This command is not implemented and is a no-op.


Copyright 2018, Inc. or its affiliates. All rights reserved.


Licensed under the Apache License, version 2.0.
⇧ Top