Skip to content

Provide guidance on making secret service work #132

Open
@p

Description

@p

On Debian, docker appears to be configured to use secret service by default. However, this did not work on my machine:

# docker login -u user -p pass
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
** Message: 00:51:34.306: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Error saving credentials: error storing credentials - err: exit status 1, out: `The name org.freedesktop.secrets was not provided by any .service files`

My internet searches for "secret service" yielded freedesktop specifications for it but nothing related to which program I need to have installed to have it, or how to start it.

From my experience, freedesktop bits do not always come with adequate user documentation, but since it is rather non-trivial to figure out how to make docker not try to use the various gnome desktop services (docker/cli#1219), please consider adding some guidance on how to make the default credential store work, including on a headless machine with no X installed.

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