Ubuntu version: 26.04
Docker version: 29.5.3
Problem: Docker Compose default network connectivity is broken in docker-in-docker environment - containers cannot communicate with each other
Root cause: iptables-legacy FORWARD chain has default policy set to DROP
Workaround: sudo iptables-legacy -P FORWARD ACCEPT
Ubuntu version: 26.04
Docker version: 29.5.3
Problem: Docker Compose default network connectivity is broken in docker-in-docker environment - containers cannot communicate with each other
Root cause: iptables-legacy FORWARD chain has default policy set to DROP
Workaround: sudo iptables-legacy -P FORWARD ACCEPT