Skip to content

Document use of docker-credential-helpers with Docker Desktop #303

Open
@gzagatti

Description

@gzagatti

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions