docker / docker/docker-credential-helpers
`docker info` complains that plugin is not valid
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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