python icon indicating copy to clipboard operation
python copied to clipboard

l`oad metadata for docker.io/library/python:3.12` eroor

Open IvanIsak2000 opened this issue 1 year ago • 1 comments


➜  examples git:(master) ✗ docker-compose up       
[+] Building 20.5s (6/6) FINISHED                                                                                                                                        docker:desktop-linux
 => [supplemention internal] load build definition from Dockerfile                                                                                                                       0.0s
 => => transferring dockerfile: 347B                                                                                                                                                     0.0s
 => [okuluss internal] load build definition from Dockerfile                                                                                                                             0.1s
 => => transferring dockerfile: 327B                                                                                                                                                     0.0s
 => [supplements_path internal] load build definition from Dockerfile                                                                                                                    0.0s
 => => transferring dockerfile: 347B                                                                                                                                                     0.0s
 => ERROR [space_ceo_upgradet internal] load metadata for docker.io/library/python:3.12                                                                                                 20.2s
 => [space_ceo_upgradet internal] load build definition from Dockerfile                                                                                                                  0.1s
 => => transferring dockerfile: 377B                                                                                                                                                     0.0s
 => [baddy internal] load build definition from Dockerfile                                                                                                                               0.1s
 => => transferring dockerfile: 347B                                                                                                                                                     0.0s
------
  [space_ceo_upgradet internal] load metadata for docker.io/library/python:3.12:
------
failed to solve: python:3.12: failed to resolve source metadata for docker.io/library/python:3.12: error getting credentials - err: exit status 1, out: error getting credentials - err: exit status 1, out: `exit status 2: gpg: Note: database_open 134217901 waiting for lock (held by 1962) ...
gpg: Note: database_open 134217901 waiting for lock (held by 1962) ...
gpg: Note: database_open 134217901 waiting for lock (held by 1962) ...
gpg: Note: database_open 134217901 waiting for lock (held by 1962) ...
gpg: Note: database_open 134217901 waiting for lock (held by 1962) ...
gpg: keydb_search failed: Connection timed out
gpg: public key decryption failed: No secret key
gpg: decryption failed: No secret key

What is the problem? I'm programming and started docker-compose many times by this day, but today is crashed.

IvanIsak2000 avatar Jul 23 '24 17:07 IvanIsak2000

My best guess from your output is that at some point, you must've configured the pass-based credential helper, and it's failing to load your credentials for some reason (maybe due to another process also holding the lock on the GnuPG database it uses, per the output there).

tianon avatar Jul 23 '24 17:07 tianon