devcontainers / devcontainers/features
Docker Compose default network is not accessible in docker-in-docker on Ubuntu 26.04
Open
- Dominant language
- Shell
- Stars
- 1.5k
- Forks
- 621
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 4
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.