Why rootless podman container fails to start when attaching to a custom network bridge with the error "Error: netavark: iptables: invalid version number" in Red Hat Enterprise Linux ?

Solution Verified - Updated -

Issue

  • Why rootless podman container fails to start when attaching to a custom network bridge with the error "Error: netavark: iptables: invalid version number" in Red Hat Enterprise Linux ?
cloud-user@ocp4-bastion ~]$  podman run  -dt --network redhat registry.access.redhat.com/ubi8 
Error: netavark: iptables: invalid version number

Environment

  • Red Hat Enterprise Linux 8/9
  • rootless podman

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content