I created a user-defined bridge using the docker command:
docker network create --driver bridge mynetwork
This command resulted in a bridge being created, as shown by
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg br-000f1 1500 0 0 0 0 0 0 0 0 BMRU
In the same way that I previously trusted the
docker0 bridge, I need to add this new bridge to my firewall trust zone:
firewall-cmd --permanent --zone=trusted --add-interface=Docker0
I don't see a way to infer or specify the bridge device name, so I'm not sure how I can add it to my trust zone in an automated way.
I would appreciate any help.