Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Podman unable to download some images from docker.io
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ElektroVirus
n00b
n00b


Joined: 27 Jan 2020
Posts: 13

PostPosted: Mon Nov 15, 2021 5:06 pm    Post subject: Podman unable to download some images from docker.io Reply with quote

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
View user's profile Send private message
ElektroVirus
n00b
n00b


Joined: 27 Jan 2020
Posts: 13

PostPosted: Tue Nov 16, 2021 2:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
smartding
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2021
Posts: 129

PostPosted: Thu Nov 18, 2021 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum