docker-library / python

Docker Official Image packaging for Python
https://www.python.org/
MIT License
2.53k stars 1.06k forks source link

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

Open IvanIsak2000 opened 1 month ago

IvanIsak2000 commented 1 month ago

➜  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.

tianon commented 1 month ago

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).