Docker Cli legacy build deprecated on windows with no replacement available
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- docker, github-actions, go
- Ambito
- build-system, ci-cd, cli, operating-systems
Direzione di ricerca
Inizia dal punto di ingresso della build di Docker CLI e riproduci la deprecazione di legacy-builder su un GitHub Actions Windows runner usando le informazioni sull’immagine del runner collegate nell’issue. Confronta il comportamento dei container Windows con Buildx e BuildKit, quindi verifica se l’avviso o il fallback è appropriato. Il lavoro è completato quando le build Windows hanno un percorso supportato e riproducibile senza l’errore di deprecazione segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 6.1k
- Fork
- 2.2k
- Merge medio
- 1g 10h
- PR unite (30g)
- 47
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di docker/cli
-
kind/bug status/0-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
kind/bug status/0-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
kind/feature status/0-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
kind/bug status/0-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Issue simili
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
🤔 refinement needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
equinor/radix-operator#1979 ·
-
help wanted kind/documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
liquidmetal-dev/flintlock#1239 ·