Docker Cli legacy build deprecated on windows with no replacement available
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- docker, github-actions, go
- Área
- build-system, ci-cd, cli, operating-systems
Línea de trabajo
Comienza con el punto de entrada de build de Docker CLI y reproduce la deprecación de legacy-builder en un GitHub Actions Windows runner usando la información de la imagen del runner enlazada en el issue. Compara el comportamiento de los contenedores Windows con Buildx y BuildKit y, después, verifica si la advertencia o el fallback son apropiados. Se considera terminado cuando las compilaciones de Windows tienen una ruta compatible y reproducible sin el fallo de deprecación indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 6.1k
- Forks
- 2.2k
- Merge medio
- 2 d 2 h
- PR fusionados (30 d)
- 28
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de docker/cli
-
area/testing kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
docker/cli#7352 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
kind/bug status/0-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
kind/bug status/0-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
docker/cli#7176 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
docker/cli#7005 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de docker/cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días
-
CPA plugin install fails: checksums.txt naming mismatch (dist/ prefix / missing checksums.txt)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
linonetwo/cpa-session-archive#25 ·
Los mantenedores suelen responder en 1 día
-
agent-butler-finding bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
jordansmall/spindrift#4367 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día