Closed metasoarous closed 8 months ago
I managed to resolve this issue after finding a stackoverflow post I'd missed before. Here's what I did:
# clear out old config file
rm ~/.docker/config.json
<restart docker desktop>
# clear out and generate fresh gpg keys
pass remove -rf docker-credential-helpers
gpg --generate-key
pass init <keyid>
It's possible that the second set of commands (clearing out and setting up new gpg key) would have worked without clearing out the docker config, but I can say at the very least that clearing out the old config was not sufficient, as one of the solutions on SO had suggested.
Description
After installing and logging in to Docker Desktop, when I try to run
docker compose up
I getThe closest matching description I've been able to find is here: https://github.com/docker/desktop-linux/issues/25. However, the email address I used on the GPG does indeed match that on my docker account, so the fix there is not helping me.
Reproduce
docker compose up
Expected behavior
That docker is able to download and run containers
docker version
docker info
Diagnostics ID
acfb329f-fb41-4a1b-b265-2a6228e88ccd/20231025232858
Additional Info
The first time I ran
pass init
I accidentally ran withpass init /home/<username>/.password-store/
instead of the public key id created bygpg --generate
. I ran correctly thereafter, but wasn't able to figure out if there was anything else I needed to do to fully undo the erroneous call.