podman ignoring /etc/containers/registries.conf and .conf.d when in rootless mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpod (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
in contrast to docker, podman does not have a default registry to pull from, but uses /etc/containers
E.g. the file coming with ubuntu, i.e. /etc/containers
resolves alpine to docker.
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
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
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)