I have been practicing Podman in RHEL 8 and 9 VMs in VirtualBox for the past couple of months. I've never needed to do anything other than create a user account for Podman to work and I've never had issues connecting with root. I took a break and now I'm getting back into it.
I'm now seeing the following error whenever I try to log into Podman on a fresh install of RHEL8.9 and RHEL 9.0.
Username: <username>
Password:
Error: authenticating creds for "registry.access.redhat.com": pinging container registry registry.access.redhat.com: Get "https://registry.access.redhat.com/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority
What is causing this and am I missing something that's blocking root and rootless users from using Podman? I'm able to log into my RedHat account with no issues and I'm able to pull patches.
I actually found that my corporate proxy was causing the issue.
@jeffdoug1 I tried to this in my local machine and I did not face any issue.
can you run "podman logout --all" and try again.
And make sure to use the RHN ID and password.
I actually found that my corporate proxy was causing the issue.
the issue is related to resolving the DNS.
If DNS issues persist, you can specify a custom DNS configuration for Podman by editing /etc/containers/containers.conf or /etc/containers/registries.conf and adding the dns entry under the [containers] section, also remove any other DNS entries.
[containers]
dns = ["8.8.8.8", "1.1.1.1"]
then sudo systemctl restart podman
this should resolve the issue
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.