<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Can you please try the podman version in experimental? I believe what you describe (the shortnames) should work with version 2.2 just fine thanks to the shortnames.conf file.</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">Also, what version of podman did you use in Fedora for this test?</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">-rt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 29, 2020 at 12:45 PM Antonio Terceiro <<a href="mailto:terceiro@debian.org">terceiro@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: podman<br>
Version: 2.1.1+dfsg1-3<br>
Severity: wishlist<br>
<br>
When running stuff that was originally written for docker, image names<br>
will usually be provided in their short form, i.e. debian:10,<br>
fedora:rawhide. In the current state of the Debian packaging, those will<br>
fail like this:<br>
<br>
$ cat Containerfile<br>
FROM debian<br>
$ podman build -t foobar .<br>
STEP 1: FROM debian<br>
Error: error creating build container: (image name "debian" is a short name and no search registries are defined in /etc/containers/registries.conf): while pulling "debian" as "localhost/debian": Error initializing source docker://localhost/debian:latest: error pinging docker registry localhost: Get "<a href="https://localhost/v2/" rel="noreferrer" target="_blank">https://localhost/v2/</a>": dial tcp [::1]:443: connect: connection refused<br>
<br>
On Fedora, on the other hand, this just works, because their<br>
registries.conf provides by default a list of as few registries<br>
registries where to look up unqualified image names:<br>
<br>
[terceiro@fedora tmp]$ grep -v '^#' /etc/containers/registries.conf<br>
unqualified-search-registries = ['<a href="http://registry.fedoraproject.org" rel="noreferrer" target="_blank">registry.fedoraproject.org</a>', '<a href="http://registry.access.redhat.com" rel="noreferrer" target="_blank">registry.access.redhat.com</a>', '<a href="http://registry.centos.org" rel="noreferrer" target="_blank">registry.centos.org</a>', '<a href="http://docker.io" rel="noreferrer" target="_blank">docker.io</a>']<br>
<br>
I don't think we want to include the fedora/redhat/centos registries,<br>
but we should include at least the <a href="http://docker.io" rel="noreferrer" target="_blank">docker.io</a> registry, which is the _de<br>
facto_ standard in the container world at the moment. So can we please<br>
provide something like the line below by default in<br>
/etc/containers/registries.conf?<br>
<br>
unqualified-search-registries = ['<a href="http://docker.io" rel="noreferrer" target="_blank">docker.io</a>']<br>
<br>
-- System Information:<br>
Debian Release: bullseye/sid<br>
  APT prefers unstable-debug<br>
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)<br>
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en<br>
Shell: /bin/sh linked to /usr/bin/dash<br>
Init: systemd (via /run/systemd/system)<br>
LSM: AppArmor: enabled<br>
<br>
Versions of packages podman depends on:<br>
ii  conmon                           2.0.20-1<br>
ii  containernetworking-plugins      0.8.7-1<br>
ii  crun                             0.15.1+dfsg-1<br>
ii  golang-github-containers-common  0.26.3+ds1-2<br>
ii  init-system-helpers              1.60<br>
ii  libc6                            2.31-6<br>
ii  libdevmapper1.02.1               2:1.02.173-1<br>
ii  libgpgme11                       1.14.0-1+b2<br>
ii  libseccomp2                      2.5.1-1<br>
ii  runc                             1.0.0~rc92+dfsg1-5<br>
<br>
Versions of packages podman recommends:<br>
ii  buildah         1.16.6+dfsg1-2<br>
ii  catatonit       0.1.5-2<br>
ii  fuse-overlayfs  1.2.0-1<br>
ii  slirp4netns     1.0.1-1<br>
ii  tini            0.19.0-1<br>
ii  uidmap          1:4.8.1-1<br>
<br>
Versions of packages podman suggests:<br>
pn  containers-storage  <none><br>
<br>
-- no debconf information<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">regards,<br>    Reinhard</div>