Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 783 Bytes

File metadata and controls

35 lines (27 loc) · 783 Bytes

Troubleshooting

Red Hat Registry Signature Issues

If you encounter signature verification errors when pulling Red Hat UBI images during multi-architecture builds, you have two options:

Option 1: Configure Podman to accept unsigned images (Quick fix)

Create or edit /etc/containers/policy.json:

sudo mkdir -p /etc/containers
sudo tee /etc/containers/policy.json > /dev/null <<EOF
{
    "default": [
        {
            "type": "insecureAcceptAnything"
        }
    ],
    "transports": {
        "docker-daemon": {
            "": [{"type": "insecureAcceptAnything"}]
        }
    }
}
EOF

Option 2: Authenticate with Red Hat Registry (Recommended)

podman login registry.redhat.io

Enter your Red Hat account credentials when prompted.