testcontainers / testcontainers/testcontainers-python
Containers fail to start: mssql/win11, mssql/m1, mssql with different port (not intended to work), postgres/win10, mariadb/win11, oracle
オープン
まだ誰も着手していません。
👀 requires attention
🔀 requires triage
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 386
- 平均マージ
- 4時間 40分
- マージ済み PR(30日)
- 1
説明
I'm unable to run the SqlServerContainer. After creating the MSSQL container, it gets stuck at the "waiting to be ready" state and does not proceed further.
To Reproduce
from sqlalchemy import create_engine, text
from testcontainers.mssql import SqlServerContainer
with SqlServerContainer() as mssql:
engine = create_engine(mssql.get_connection_url())
with engine.begin() as connection:
version = connection.execute(text("select @@VERSION"))
Runtime environment
Docker Desktop 4.19.0 (106363)
Windows 11
Python 3.9
testcontainers==3.7.1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Docker Desktop、Windows 11、Python 3.9、testcontainers 3.7.1 を使って SqlServerContainer の例を再現し、その後コンテナの readiness の挙動を調査します。MSSQL の失敗をタイトルに記載された他の環境と比較します。対象のコンテナが待機状態を抜け、SQLAlchemy 接続が成功すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, python, sqlalchemy
- 領域
- databases, devops, testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100