Docker Cli legacy build deprecated on windows with no replacement available
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- docker, github-actions, go
調査の方向性
Docker CLI の build エントリポイントから始め、Issue にリンクされている runner イメージ情報を使用して、GitHub Actions Windows runner 上で legacy-builder の非推奨化を再現します。Windows コンテナでの動作を Buildx および BuildKit と比較し、そのうえで警告またはフォールバックが適切かどうかを確認します。Windows ビルドに、報告されている非推奨化エラーなしで、サポートされた再現可能なパスがあれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
When attempting to build windows docker images from windows github runners, the docker cli reports an error that the legacy builder is deprecated.
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
The problem is that buildx and buildkit do not work well on windows, and any support for them is still experimental.
Either this warning is being incorrectly applied when attempting to build windows containers, or this deprecation is happening before windows containers can be supported by the newer build systems.
See https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/pull/4876 for an attempt to enable buildx and buildkit on a github windows runner and a link to an example job that failed with the legacy builder deprecation message.
Reproduce
- Setup a github actions job to run on a windows runner
- Use the docker cli to build a windows container.
- Sometimes it will successfully, and other times it fails with the deprecation message.
Expected behavior
Either the windows docker containers should continue to built using the legacy builder, or the newer build system needs to fully support windows containers.
docker version
N/A
docker info
N/A
Additional Info
See https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md for the information about which docker tools (and their versions) are installed on windows runners.
- 主要言語
- Go
- スター
- 6.1k
- フォーク
- 2.2k
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 47
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/cli のほかの issue
-
kind/bug status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
kind/bug status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
kind/feature status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
kind/bug status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
googleapis/librarian#7670 · コメント 2 件 ·