docker / docker/cli

Feature request: support glob in credHelpers option

Open
#1,915 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/authentication area/distribution kind/enhancement
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

If I want to use ECR, I need to add each ECR registry to credHelpers like:

{
  "credHelpers": { "123456.abc.ecr.us-east-1.amazonaws.com": "ecr-login" }
}

A good default would be:

{
  "credHelpers": { "ecr.*.amazonaws.com": "ecr-login" }
}

It will work directly, and will remove eventual conflict with others amazonaws.com domains.

GCR seems to be fine. They use gcr.io domain directly. Same for Azure, azurecr.io.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the Docker CLI configuration handling for credHelpers and its existing registry matching behavior. Define done as supporting the proposed ECR-style glob patterns without changing exact matches or causing conflicts with other amazonaws.com domains.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.