How-to-simply...

Fix error pinging docker registry (no such host)

  • 1 Add registry IP and FQDN to your hosts file
  • 2 Maybe there is a port number missing in /etc/containers/registries.conf
    [registries.insecure]
    registries = ['private-registry.there:5000']
  • N podman login private-registry.there:5000

References