Universal image: containers on a user-defined bridge network cannot reach each other
メンテナーはふだん 1 日以内に返信
@v-Kaniska244 がすでに取り組んでいます。
2026年10月5日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, docker-compose, shell
調査の方向性
Start by reproducing the failure with the supplied Docker Compose example in a fresh universal Codespace, then inspect the universal image setup associated with version 6.1.7 and its Docker networking initialization. Compare nftables and iptables-legacy state before and after startup; done means containers on user-defined bridge networks can communicate without applying the listed workaround.
索引モデルが issue の本文から書いたものです。
説明
Summary
In a GitHub Codespace using the default universal image (no devcontainer.json), containers on a user-defined bridge network (e.g. the default network created by docker compose) cannot reach each other. The same compose file works on a regular Docker host.
Environment
- Image: universal, image version 6.1.7 (release v0.4.33, built Thu, 10 Sep 2026 12:15:52 GMT), no devcontainer.json
https://github.com/devcontainers/images/tree/main/src/universal/history/6.1.7.md - Docker: 29.8.0-1 (Moby)
- Docker Compose: v5.5.1
Steps to reproduce
- Create a fresh Codespace with no devcontainer.json (example: https://github.com/mdmourao/docker-api-solved)
- Start any two services with
docker compose up(e.g. postgres:17 + an app) - From another container on the same network:
docker run --rm --network <project>_default postgres:17 pg_isready -h db -p 5432
Expected: db:5432 - accepting connections
Actual: db:5432 - no response
Workaround
sudo iptables-legacy -P FORWARD ACCEPT
or, more narrowly:
sudo iptables-legacy -I FORWARD -i br+ -o br+ -j ACCEPT
References
Same diagnosis reported in other projects, worked around locally and closed there, but apparently never reported upstream:
- 主要言語
- Shell
- スター
- 2.1k
- フォーク
- 976
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 16
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
devcontainers/images のほかの issue
-
Add git-lfs feature to base-ubuntu image対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 半日 初心者へのやさしさ 70/100
devcontainers/images#1828 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 12/100
devcontainers/images#2081 ·
メンテナーはふだん 1 日以内に返信
-
Provide a starter repository for image definitions対応中かも @v-Kaniska244 が 18 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
devcontainers/images#2047 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Outdated security package pins cause redundant installs and longer image builds.対応中かも @V-Subhankar-infy が 20 日前に担当しました。 オープン
devcontainers/images#2046 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
`postCreateCommand` is never executed with `mcr.microsoft.com/devcontainers/base:ubuntu26.04`再び着手できるかも @V-Subhankar-infy が 88 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
devcontainers/images#1949 · コメント 9 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
devcontainers/images の issue をすべて見る
似ている issue
-
documentation good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
ysb3996-blip/oops#51 ·
メンテナーはふだん 1 日以内に返信
-
luaebpf: the by-example page's intro names two outcomes of a lowering and omits the stop with the default verdict対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンdocumentation severity: low
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
luainkernel/lunatik#2231 ·
メンテナーはふだん 1 日以内に返信
-
diagnostics good first issue testing
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
Remove leftover Cloud66 custom_web process from Procfile対応中かも @ShahadatTest が今日担当しました。 オープンDifficulty: Easy Good First Issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
rubyforgood/casa#7330 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Version drift reportオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
n8n-io/terraform-google-n8n#58 ·
メンテナーはふだん 17 日以内に返信