docker / docker-credential-helpers

Programs to keep Docker login credentials safe by storing in platform keystores
MIT License
1.09k stars 172 forks source link

Compose credential issue #241

Closed kevinkesslerit closed 2 years ago

kevinkesslerit commented 2 years ago

Error error getting credentials - err: exit status 1, out: error getting credentials - err: exit status 1, out: no usernames for https://index.docker.io/v1/

This is when running docker compose up in terminal from any location.

pass is installed, gpg generated, pass init'd as per the official documentation.

Versions Docker Desktop v4.12.0 (85629) Engine v20.10.17 Compose v2.10.2

System uname -r:

5.19.9-200.fc36.x86_64

Fedora 36 Spin - Cinnamon (fully updated 9-21-22)

Other I followed the instructions from the official Docker documentation pages to perform this install.

Other Other: I am using a hardware security key with PAM auth. I have not tried docker with any other setup, this is my first fresh start.

I additionally receive these errors after logging in: Error saving credentials: error storing credentials - err: exit status 1, out: error getting credentials - err: exit status 1, out: no usernames for https://index.docker.io/v1/

Can confirm this is only an issue after instaling docker desktop rpm file.

kevinkesslerit commented 2 years ago

Narrowed down the issue to be something on my system. Did a fresh VM up with the same spin and version of fedora update to date patches, and it all worked out of the box. Did not login and am avoiding logging in.