View previous topic :: View next topic |
Author |
Message |
ElektroVirus n00b
Joined: 27 Jan 2020 Posts: 13
|
Posted: Mon Nov 15, 2021 5:06 pm Post subject: Podman unable to download some images from docker.io |
|
|
Hey, I am not able to pull all images with Podman from docker.io. For example, image docker.io/library/alpine does work but Python images seem not to work.
Command
Code: | podman --log-level debug pull docker.io/library/python:3.9 | output can be viewed at
http://dpaste.com/EPT5GG2ME .
My registries (I am not sure if I had to change here something to get Podman working at all):
Code: | /etc/containers/registries.conf | :
https://dpaste.com/2HTTB2MKX
The error message, what is coming without the "--log-level debug", is
"Error: initializing source docker://python:3.9: reading manifest 3.9 in quay.io/libpod/python: manifest unknown: manifest unknown"
In a virtual Fedora the image can be pulled without problems so it must be a problem with my Podman on Gentoo.
Have a nice day!
ElektroVirus |
|
Back to top |
|
|
ElektroVirus n00b
Joined: 27 Jan 2020 Posts: 13
|
Posted: Tue Nov 16, 2021 2:50 pm Post subject: |
|
|
I got it working.
In /etc/containers/registries.conf:
Code: |
# 2020-10-27 a number of images are not present in gcr.io, and podman
# barfs spectacularly when trying to fetch them. We've hand-copied
# those to quay, using skopeo copy --all ...
[[registry]]
prefix="docker.io/library"
location="quay.io/libpod"
|
I changed the line for 'location':
Code: | location="docker.io/library" |
Now it works. Where should I report this? It's kinda dumb that the default configuration does point to a place where there do not exist all images and it is not really transparent, why. Is quay.io used because of docker.io:s rate limiting?
ElektroVirus |
|
Back to top |
|
|
smartding Tux's lil' helper
Joined: 22 Jan 2021 Posts: 129
|
Posted: Thu Nov 18, 2021 9:44 am Post subject: |
|
|
gentoo doesn't change the registries.conf to point to a different registry.
If you look at the sample registries.conf that's in the source code repo of podman, you can see that it contains
Code: |
[[registry]]
prefix="docker.io/library"
location="quay.io/libpod"
|
https://github.com/containers/podman/blob/main/test/registries.conf |
|
Back to top |
|
|
|