Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Docker Cli legacy build deprecated on windows with no replacement available

オープン
#6,855 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

kind/bug status/0-triage
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
  1. Setup a github actions job to run on a windows runner
  2. Use the docker cli to build a windows container.
  3. 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

docker/cli のほかの issue

docker/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。