podman not able to login or pull images

Posted on

This seems strange, I'm using a RHEL9 VM, and its like podman can't reach any of the registries even though I can resolve them and reach them all:

$ podman login registry.redhat.io

Username: xxxxx
Password: 
Error: authenticating creds for "registry.redhat.io": pinging container registry registry.redhat.io: Get "https://registry.redhat.io/v2/": dial tcp: lookup registry.redhat.io: i/o timeout

$ dig +short registry.redhat.io +noedns

registry.redhat.io.edgekey.net.
e14353.g.akamaiedge.net.
104.86.93.51

$ curl https://registry.redhat.io/v2/

{"errors":[{"code":"UNAUTHORIZED","message":"Access to the requested resource is not authorized"}]}

In fact, none of the registries seems to work:

$ podman search ubi

Error: 3 errors occurred:
        * couldn't search registry "registry.access.redhat.com": pinging container registry registry.access.redhat.com: Get "https://registry.access.redhat.com/v2/": dial tcp: lookup registry.access.redhat.com: i/o timeout
        * couldn't search registry "registry.redhat.io": pinging container registry registry.redhat.io: Get "https://registry.redhat.io/v2/": dial tcp: lookup registry.redhat.io: i/o timeout
        * couldn't search registry "docker.io": pinging container registry index.docker.io: Get "https://index.docker.io/v2/": dial tcp: lookup index.docker.io: i/o timeout

Responses