devcontainers / devcontainers/features

Docker Compose default network is not accessible in docker-in-docker on Ubuntu 26.04

Open
#1,673 2 comments 0 reactions 1 assignee Claimed by @v-Kaniska244 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.