Public bug reported:
Hi,
in contrast to docker, podman does not have a default registry to pull
from, but uses /etc/containers/registries.conf and .conf.d to resolve
the names.
E.g. the file coming with ubuntu, i.e.
/etc/containers/registries.conf.d/shortnames.conf
resolves alpine to docker.io/library/alpine
This usually works for both root and other users (non-root mode).
In 24.04 beta it works only for root.
i.e. a
podman pull alpine
works when run as root, but not as a normal user, it can't resolve the
source then. strace shows that it does not even look for a
registrries.conf.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: podman 4.9.3+ds1-1build2
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
Date: Fri Apr 19 21:29:50 2024
InstallationDate: Installed on 2024-04-19 (0 days ago)
InstallationMedia: Lubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240410)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: libpod
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: libpod (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062838
Title:
podman ignoring /etc/containers/registries.conf and .conf.d when in
rootless mode
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpod/+bug/2062838/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs