Open svdHero opened 2 years ago
Hello @svdHero I encounter the same problem. Did you find any solution ?
Edit:
On my side, I have to do all the step again from gpg --generate-key
(I tried with gpg2 but same problem each time)
first, install the list of libs below: wget libsecret gpg pass gpg-agent
- wget https://github.com/docker/docker-credential-helpers/releases/download/v0.6.3/docker-credential-pass-v0.6.3-
amd64.tar.gz
- tar xvzf docker-credential-pass-v0.6.3-amd64.tar.gz
- chmod a+x docker-credential-pass
- mv docker-credential-pass /usr/local/bin/
- docker-credential-pass list
- mkdir ~/.docker
- |
gpg2 --generate-key --batch <<eoGpgConf
%echo Started!
Key-Type: default
Key-Length: default
Subkey-Type: default
Name-Real: Docker
Name-Comment: Something funny
Name-Email: user@example.com
Expire-Date: 0
Passphrase: Yousuperstrongpassword
%commit
%echo Done.
eoGpgConf
- gpg2 -k user@example.com| sed -e '/^pub/{N;s/.*\(.\{40\}\)/\1/;p;s/^.\{40\}//;q};d' >> gpgpub.txt
- gpg2 --list-secret-keys
- GPGPUBKEY=$(cat gpgpub.txt)
- pass init $GPGPUBKEY
- touch ~/.docker/config.json
- |
echo $'{\n"credsStore": "pass"\n}' >> ~/.docker/config.json
Hi there,
after having installed Docker Credential Helpers on my Ubuntu machine, I did the following steps
The login succeeded and I could download protected images from my local harbor-registry just fine.
However, every now and then when I do a
I get the error message
Same thing for a
docker-compose up
, where I would get aThe errors will NOT go away when I log in again. The only way to solve the problem is to do a
again.
What's wrong here? I would be grateful for any advice.
My docker version:
20.10.12, build e91ed57
My docker compose version:1.29.2, build 5becea4c
My docker credentials helpers version:v0.6.4
OS: Ubuntu Server 20.04 LTS