docker / docker/docker-credential-helpers

Document use of docker-credential-helpers with Docker Desktop

Open Beginner friendly
#303 2 comments 5 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

The documentation does not discuss the use of docker-credential-helpers with Docker desktop.

If you follow the instruction from the README file you will only be able to configure credentials for the docker in the CLI which will not be picked up by Docker Desktop.

It turns out that Docker Desktop has its own set of configurations in ~/.docker/desktop/settings.json. Make sure to change the following entry in this file so Docker Desktop picks the right credential method.

{
  "credentialHelper": "docker-credential-secretservice",
}

In my case, I finally got rid of the annoying PGP dialogues in Ubuntu by switching to the OS keyring.

It would be a great idea to have this instructions documented in the README file. It took me a while to find this workaround.

Also, is this the recommended approach to integrate the credential helpers with Docker Desktop?

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

Review the README's credential-helper instructions and compare them with Docker Desktop's configuration at ~/.docker/desktop/settings.json. Confirm whether setting credentialHelper to docker-credential-secretservice is the recommended integration, then document the supported steps and expected Docker Desktop behavior in the README.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.