Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, apk 安装 docker-credential-helper-ecr

查看 docker-credential-helper-ecr 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install docker-credential-helper-ecr

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install docker-credential-helper-ecr

MacPorts ports tree · sysutils/docker-credential-helper-ecr/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add docker-credential-ecr-login

Alpine Linux edge package indexes · docker-credential-ecr-login · 来源: dl-cdn.alpinelinux.org

概览

软件包摘要

Docker Credential Helper for Amazon ECR

命令和别名

  • docker-credential-ecr-login

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

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

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.aws/credentials

可执行文件

已安装的可执行文件

命令类型暴露范围备注
docker-credential-ecr-logincli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.12.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.12.0

https://github.com/awslabs/amazon-ecr-credential-helper

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:docker-credential-helper-ecr
版本0.12.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/docker-credential-helper-ecr
主页https://github.com/awslabs/amazon-ecr-credential-helper
仓库https://github.com/awslabs/amazon-ecr-credential-helper
上游文档https://github.com/awslabs/amazon-ecr-credential-helper#readme
许可证Apache-2.0
源码归档https://github.com/awslabs/amazon-ecr-credential-helper/archive/refs/tags/v0.12.0.tar.gz
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedocker-credential-helper-ecr
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

docker-credential-helper-ecr

sudo port install docker-credential-helper-ecr
  • normalized package name match
  • 匹配方式:Docker Credential Helper Ecr
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/docker-credential-helper-ecr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
apk92%

docker-credential-ecr-login 0.12.0-r3

Credential helper for Docker to use the AWS Elastic Container Registry

https://github.com/awslabs/amazon-ecr-credential-helper

sudo apk add docker-credential-ecr-login
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: docker-credential-ecr-login
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Docker Credential Ecr Login
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: docker-credential-ecr-login from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

docker-credential-ecr-login-doc 0.12.0-r3

Credential helper for Docker to use the AWS Elastic Container Registry (documentation)

https://github.com/awslabs/amazon-ecr-credential-helper

sudo apk add docker-credential-ecr-login-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: docker-credential-ecr-login
  • installed executable or alias match
  • 匹配方式:Docker Credential Ecr Login
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: docker-credential-ecr-login-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment