OCI: Podman Containers Cannot Access DNS or Internet
Applies to:
Oracle Cloud Infrastructure
Oracle Linux 8 x86-64 and later
Symptoms
The instance has correct DNS functionality and internet access, but podman containers running in the instance are unable to resolve internet hostnames and/or access internet resources.
Cause
In this case, the issue was caused by docker-ce also being installed and running in the instance.
Docker-CE added a number of firewall rules via iptables which prevented regular operation of podman containers.
Solution
1 ) The first mandatory step if there is a need to use podman in Oracle Linux 8 or 9, is to disable and fully remove docker-ce packages from the system.
Tagged:
0