testcontainers / testcontainers/testcontainers-python
Bug: tc.host support issue - failing to connect to dockerd if tc.host is present
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 386
- 平均マージ
- 4時間 40分
- マージ済み PR(30日)
- 1
説明
Describe the bug
when we added #388 it reads stale data (or even in an older format?) and fails to connect to docker, preferring to connect to a tc desktop that may not be running anymore.
this library should validate the format before consuming the value, and potentially also check for a healthy server running on that port.
To Reproduce
Add/comment/uncomment the below line in ~/.testcontainers.properties
tc.host=tcp\://127.0.0.1\:42319
Runtime environment
n/a
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、ライブラリが dockerd に接続する前に ~/.testcontainers.properties と #388 で導入された tc.host の値がどのように読み取られるかを追跡します。tc.host=tcp\://127.0.0.1\:42319 で失敗を再現し、その後、既存の接続チェックとテストがあれば確認します。古い値や不正な形式の値によって、ライブラリが利用できない Docker エンドポイントを優先しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, python
- 領域
- devops, testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100