Podman - הבסיס נכשל לעומת _dev עובד

סיכום מבוסס בינה מלאכותית

The discussion revolves around an issue with pulling the discourse/base image using Podman. lejeczek encountered an error when trying to pull the image without specifying a tag (podman image pull docker.io/discourse/base), but was successful when using a specific tag (podman image pull docker.io/discourse/base:2.0.20210217-2235) as suggested by Falco. lejeczek wonders why the default latest tag does not work and if it’s something that can be fixed by the Discourse team. Falco explains that the Discourse team does not use the latest tag and recommends always specifying a specific tag. lejeczek jokingly suggests that a little “magic” to make the latest tag work would be nice.

Hi guys.
I was not sure whether that would be something to pursue at Podman’s end or here and thought I try first here.

‘podman’ is happy with ‘discourse_dev’ but opposite is true when trying ‘base’

-> $ podman image pull docker.io/discourse/base
Trying to pull docker.io/discourse/base:latest...
manifest unknown: manifest unknown
Error: Error initializing source docker://discourse/base:latest: Error reading manifest latest in docker.io/discourse/base: manifest unknown: manifest unknown

Would you guys know if perhaps any work-around or a fix, a resolution exists or is being worked on by Discourse devel? Or maybe there is something that could be passed on to Podman’s guys?

Can you try while specifying a tag? Current production image is discourse/base:2.0.20210217-2235

Hi. That seems to work.

-> $ podman image pull docker.io/discourse/base:2.0.20210217-2235
Trying to pull docker.io/discourse/base:2.0.20210217-2235...
Getting image source signatures
Copying blob 45b42c59be33 skipped: already exists  
Copying blob cd601b5dee65 done  
Copying config 7027ba787a done  
Writing manifest to image destination
Storing signatures
7027ba787aa6a2ba80c5c78c9f21b994d08deb37ee4aecab3f8f4b50ac585b42

Why would ‘defaults(latest)’ not work - do you know?
Is it something you guys @Discourse can fix or help to fix?

We don’t use the magic latest tag, you should always be specific on what tag you want.

And would not that be really very easy & nice, to use a little bit of magic? :star_struck: