docker / docker/docker-credential-helpers

`docker info` complains that plugin is not valid

Open
#312 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.3k
Forks
195
Avg merge
1d 20h
Merged PRs (30d)
5

Description

> docker info
Client: Docker Engine - Community
 Version:    24.0.7
 Context:    rancher-desktop
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.12.0
    Path:     /Users/username/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  2.23.3
    Path:     /Users/username/.docker/cli-plugins/docker-compose
WARNING: Plugin "/Users/username/.docker/cli-plugins/docker-credential-osxkeychain" is not valid: plugin candidate "credential-osxkeychain" did not match "^[a-z][a-z0-9]*$"

Server:
 Containers: 28
...

I'm using Rancher Desktop in "moby" mode, without k8s.

Looking at the regex, I guess only one dash is allowed in docker-foo, and docker-foo-bar is not.

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

Start by reproducing the reported docker info warning in Rancher Desktop's moby mode and inspect the plugin-name validation regex that rejects credential-osxkeychain. Trace whether the validation belongs in this repository or in Docker CLI, then define the expected handling for credential-helper names before checking the relevant Go tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.