moby: Failed to use the client credentials store when running headless
With the docker-credential-secretservice
Release v0.3.0. under $PATH
docker version
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Tue Apr 26 23:38:55 2016
OS/Arch: linux/amd64
Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Tue Apr 26 23:38:55 2016
OS/Arch: linux/amd64
The config.json
$ cat ~/.docker/config.json
{
"credsStore": "secretservice"
}
docker login failed with this error:
$ docker login docker.io
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 2
- Comments: 25 (16 by maintainers)
I’m encountering this issue w/ Ubuntu 18.04 and 18.05.0-ce
I have updated my above steps based on your answer:
As a temporary fix see this stack overflow:
https://stackoverflow.com/questions/50151833/cannot-login-to-docker-account
Basically you download the
docker-credential-secretservice
executable, copy it to/usr/bin
and create a~/.docker/config.json
file. Try to log in with failure, then delete everything you just created and try logging in again. Worked for me. YMMVSame here. Ubuntu 18.04 - Docker login gives me the very same error
any news?
we’re actively working to integrate the dbus system service not to rely on an X session using
custodia
as its backend on headless installation. We just started working on this at RH but it’s another team. I’ll keep you posted as we go forward.