# Installer docker-credential-helper-ecr avec Homebrew, MacPorts, apk

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de docker-credential-helper-ecr pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:docker-credential-helper-ecr
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install docker-credential-helper-ecr
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install docker-credential-helper-ecr
```

  Preuve: MacPorts ports tree: sysutils/docker-credential-helper-ecr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add docker-credential-ecr-login
```

  Preuve: Alpine Linux edge package indexes: docker-credential-ecr-login from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:docker-credential-helper-ecr
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.12.0
- **Résumé source:** Docker Credential Helper for Amazon ECR
- **Page d'accueil:** <https://github.com/awslabs/amazon-ecr-credential-helper>
- **Dépôt:** <https://github.com/awslabs/amazon-ecr-credential-helper>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- docker-credential-ecr-login (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.12.0
## Historique du projet et usages

Amazon ECR Docker Credential Helper is the Docker credential helper for Amazon Elastic Container Registry. It lets Docker fetch ECR authentication through AWS credentials instead of requiring users or automation to run docker login for ECR registries.

### Historique du projet

The project is maintained under awslabs and implements Docker's credential-helper protocol as docker-credential-ecr-login. Its README describes the helper as a bridge between Docker, Amazon ECR, and the normal AWS credential chain, including shared credentials files, environment variables, EC2 and ECS roles, assumed roles, credential_process, and web identity support.

The changelog shows an initial 0.1.0 release in 2018, followed by endpoint and credential-chain work: FIPS endpoints in 0.2.0, PrivateLink endpoints in 0.3.0, assumed-role chaining and IRSA support in 0.4.0, ECR Public and IMDSv2 support in 0.5.0, AWS SSO and Apple Silicon support in 0.6.0, and later support for isolated, IPv6, and dual-stack ECR endpoint patterns.

### Historique d'adoption

The README documents installation paths across Amazon Linux, Debian, Ubuntu, Arch, Alpine, macOS Homebrew, MacPorts, Windows releases, mise, and Go source installs. That distribution spread reflects its role as a small but standard glue package for CI systems, developer laptops, and hosts that pull private ECR images.

### Modes d'utilisation

Users place docker-credential-ecr-login on PATH and set Docker's credsStore or per-registry credHelpers entry to ecr-login. After that, docker pull and docker push against private or public ECR registries use AWS credentials automatically, with optional AWS_PROFILE selection and local helper cache controls.

### Pourquoi les passionnés de paquets s'y intéressent

For package maintainers, this package is interesting because it connects three packaging worlds: Docker's external credential-helper interface, AWS's credential provider chain, and distro or language package managers. A broken helper can make otherwise-correct Docker and AWS installs unable to pull private images, so version and path details matter.

### Chronologie

- 2018: v0.1.0 tagged as the initial release.
- 2019: Debian and Amazon Linux packaging tags appear in the upstream repository.
- 2021: v0.5.0 adds ECR Public and IMDSv2 support.
- 2021: v0.6.0 adds AWS SSO, EC2 metadata role assumption, and Apple Silicon support.
- 2024: v0.8.0 adds C2S endpoint pattern support and experimental Windows ARM binaries.
- 2026: v0.12.0 adds dual-stack ECR public endpoint support and SHA256 cache keys.

### Related projects

- The project is directly related to Docker's docker-credential-helpers suite, Amazon ECR, the AWS CLI and SDK credential chain, Amazon ECS and EC2 IAM roles, and Kubernetes IRSA workflows.

### Sources

- <https://github.com/awslabs/amazon-ecr-credential-helper#readme>
- <https://github.com/awslabs/amazon-ecr-credential-helper/blob/main/CHANGELOG.md>
- <https://github.com/awslabs/amazon-ecr-credential-helper/releases>
- <https://github.com/awslabs/amazon-ecr-credential-helper/tags>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: /home/<username>/.docker/config.json, /root/.docker/config.json
- Unix: ~/.docker/config.json, ~/.aws/config
- Windows: C:\Users\<username>\.docker\config.json, C:\Windows\System32\config\systemprofile\.docker\config.json

## Credential files

- Unix: ~/.aws/credentials
## Autres enregistrements de gestionnaires de paquets

- MacPorts - docker-credential-helper-ecr: normalized package name match | MacPorts ports tree: sysutils/docker-credential-helper-ecr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- apk - docker-credential-ecr-login - 0.12.0-r4: installed executable or alias match | Alpine Linux edge package indexes: docker-credential-ecr-login from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Credential helper for Docker to use the AWS Elastic Container Registry | https://github.com/awslabs/amazon-ecr-credential-helper
- apk - docker-credential-ecr-login-doc - 0.12.0-r4: installed executable or alias match | Alpine Linux edge package indexes: docker-credential-ecr-login-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Credential helper for Docker to use the AWS Elastic Container Registry (documentation) | https://github.com/awslabs/amazon-ecr-credential-helper


## Combined YAML source

View the package source record on GitHub. [combined/docker-credential-helper-ecr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/docker-credential-helper-ecr.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
