Docker API Version
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 64/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- docker
- 領域
- build-system, devops
調査の方向性
dist/${TARGETPLATFORM}/docker を /usr/local/bin/docker にコピーする Dockerfile の行から始め、次にその同梱バイナリがどのように生成されるかを調べます。現在のクライアントを確認するために docker run --rm nextflow/nextflow:25.10.6 docker version を実行し、マウントしたソケットを使うコマンドで互換性を検証します。イメージに API バージョン 1.40 以降をサポートする Docker クライアントが含まれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Bug report
Expected behavior and actual behavior
Expected behavior:
The nextflow/nextflow:25.10.6 Docker image should include a Docker client that is compatible with currently supported Docker daemon API versions. At minimum, the bundled Docker client should support Docker API version 1.40 or newer.
Actual behavior:
The nextflow/nextflow:25.10.6 image includes an older Docker client:
Client:
Version: 17.09.0-ce
API version: 1.32
When this image is used and attempts to communicate with a up to date Docker daemon through /var/run/docker.sock, Docker commands fail with:
docker: Error response from daemon: client version 1.32 is too old. Minimum supported API version is 1.40, please upgrade your client to a newer version.
See 'docker run --help'.
This prevents workflows using the Nextflow Docker image from running Docker-based pipeline steps on hosts with newer Docker daemon versions.
Steps to reproduce the problem
Run the following command:
docker run --rm nextflow/nextflow:25.10.6 docker version
On my system, this shows that the Docker client bundled inside the Nextflow image is version 17.09.0-ce with API version 1.32.
To reproduce the failure against a up to date host Docker daemon, run the image with the Docker socket mounted:
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock nextflow/nextflow:25.10.6 docker run hello-world
On systems where the Docker daemon requires API version 1.40 or newer, this fails because the Docker client inside the Nextflow image only supports API version 1.32.
Program output
Output showing the bundled Docker client version:
$ docker run --rm nextflow/nextflow:25.10.6 docker version
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Client:
Version: 17.09.0-ce
API version: 1.32
Output from the failing execution:
docker: Error response from daemon: client version 1.32 is too old. Minimum supported API version is 1.40, please upgrade your client to a newer version.
See 'docker run --help'.
Host/runner Docker version reports an API version:
API version: 1.54
Environment
- Nextflow version:
25.10.6 - Operating system: MacOS
- Container runtime: Docker
- Host Docker API version:
1.54 - Bundled Docker client inside
nextflow/nextflow:25.10.6:17.09.0-ce, API version1.32
Additional context
The issue appears to be caused by the Docker client bundled inside the nextflow/nextflow image. The Dockerfile copies a Docker binary from:
COPY dist/${TARGETPLATFORM}/docker /usr/local/bin/docker
Request: please update the bundled Docker client in the nextflow/nextflow image so that it supports Docker API version 1.40 or newer. A more recent Docker CLI would allow the image to work with current Docker daemons.
Additionally pushing an arm image would be nice as well.
- 主要言語
- Groovy
- スター
- 3.5k
- フォーク
- 823
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 137
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextflow-io/nextflow のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nextflow-io/nextflow#7878 ·
メンテナーはふだん 1 日以内に返信
-
HTTP file system has no connect/read timeout: a stalled download hangs the run対応中かも @pditommaso が 32 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
nextflow-io/nextflow#7800 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nextflow-io/nextflow#7765 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
executor/pbs executor/pbspro
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nextflow-io/nextflow#7535 · リアクション 4 件 ·
メンテナーはふだん 1 日以内に返信
-
splitCsv / CsvParser does not support RFC 4180 escaped quotes対応中かも @AdvaitS が 83 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
nextflow-io/nextflow#7529 ·
メンテナーはふだん 1 日以内に返信
nextflow-io/nextflow の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
foundation/foundation-emails#2127 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
FR: update golang.org/x/sys to v0.50.0対応中かも @wrenix が今日担当しました。 オープンfr needs-triage
難易度 2/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
area: sdk bug complexity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
accensa/accensa-app#759 ·
メンテナーはふだん 1 日以内に返信