testcontainers / testcontainers/testcontainers-python
DockerCompose start fails to start dockers, gives "got an unexpected keyword argument ssl_version" error in logs
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 386
- 平均マージ
- 4時間 40分
- マージ済み PR(30日)
- 1
説明
Describe the bug
Tried running:
compose = DockerCompose(
dir_name, compose_file_name="docker-compose.yaml", pull=True, build=True
)
compose.start()
but nothing happened, checked logs with
compose.get_logs()
got "got an unexpected keyword argument ssl_version" in the logs, apparently with the newest python docker package, the ssl_version as a parameter is no longer supported - https://docker-py.readthedocs.io/en/stable/change-log.html
starting with version 7.0.0
To Reproduce
run the following with the docker 7.0.0 package
compose = DockerCompose(
dir_name, compose_file_name="docker-compose.yaml", pull=True, build=True
)
compose.start()
Runtime environment
Fedora Linux with python 3.9 and 24.0.5 docker version (7.0.0 pip package)
switching to 6.1.3 pip package seems to do the trick
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
DockerCompose.start() のパスと、docker 7.0.0 で使用される依存関係の処理から始め、docker 6.1.3 での動作と比較します。報告されたコマンドを再現し、compose.get_logs() を調査し、サポート対象の Docker パッケージで ssl_version エラーなしに起動が成功すれば、issue は完了とみなします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, python
- 領域
- devops, infrastructure
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100