I’ve started experimenting with CentOS 8 & Podman (a fork of Docker.) I ran into an issue where one of my containers needed internet access, but could not connect. After some digging I found this site which explains why:
I had to configure the firewall on the podman host to allow for IP masquerade:
sudo firewall-cmd --zone=public --add-masquerade --permanent
After running the above command, my container had internet access!