`docker model` CLI detects "Docker Engine" on Docker Desktop for Windows and tries to start standalone runner (port 12434 conflict)
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
- 45/100
Línea de trabajo
Start with the bundled plugin at C:\Program Files\Docker\cli-plugins\docker-model.exe and reproduce the issue with docker model status against the desktop-linux context. Check how the plugin distinguishes Docker Desktop's runner from a standalone runner and selects the runner image, using the working http://localhost:12434/engines/v1/models endpoint as a reference. Done means the model commands use the available Desktop runner without the port conflict or an inappropriate CUDA image.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Environment
- Windows, Docker Desktop 4.93.0 (240920), context
desktop-linux docker model version: Client v1.2.6 / Server v1.2.8, Engine: Docker Engine- Plugin path (from
docker info):C:\Program Files\Docker\cli-plugins\docker-model.exe - CPU: Intel (no NVIDIA GPU)
Problem
Every docker model command (status, ls, list, run) pulls docker/model-runner:latest-cuda and tries to start a standalone docker-model-runner container, which fails because Docker Desktop's Model Runner already listens on 127.0.0.1:12434 (owned by com.docker.backend.exe):
unable to initialize standalone model runner: unable to initialize standalone model runner container: failed to start container docker-model-runner: Error response from daemon: ports are not available: exposing port TCP 127.0.0.1:12434 -> 127.0.0.1:0: listen tcp4 127.0.0.1:12434: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Evidence the Desktop runner works
curl http://localhost:12434/engines/v1/models returns {"object":"list","data":[]}.
Already tried
- Machine reboot
docker desktop disable model-runner+docker desktop enable model-runner --tcp=12434- With the Desktop runner disabled, the standalone runner fails binding
172.17.0.1:12434("can't bind on the specified endpoint") - No
MODEL_RUNNER_HOST/DOCKER_HOSTenv vars set
Notable
- CLI reports
Engine: Docker Enginewhiledocker versionreportsServer: Docker Desktop 4.93.0 (240920). - CLI pulls the
latest-cudaimage on a machine without an NVIDIA GPU. - Client/server version mismatch (1.2.6 vs 1.2.8).
Possibly related: #377 (closed). The fix there was removing a stale plugin from ~/.docker/cli-plugins, but here the resolved plugin is the one bundled with Docker Desktop.
- Lenguaje dominante
- Go
- Estrellas
- 657
- Forks
- 158
- Merge medio
- 2 d 11 h
- PR fusionados (30 d)
- 11
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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/model-runner
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
docker/model-runner#1073 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
docker/model-runner#1063 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
docker/model-runner#1059 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
docker/model-runner#1058 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
docker/model-runner#1056 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de docker/model-runner
Issues similares
-
documentation hacktoberfest priority: low skill: good first issue status: ready for dev
Dificultad 2/5 Medio día Aptitud para principiantes 85/100
hyperledger-labs/fabric-smart-client#2142 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
numberly/vault-db-injector#107 ·
Los mantenedores suelen responder en 1 día
-
area/import kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
[DOC] Wrong sg_egress_ports range in the Terraform Databricks Guide for AWS Hub & Spoke with Network FirewallPosiblemente ocupada @akhil9tiet la tomó hoy. Abiertodocs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
databricks/terraform-provider-databricks#6080 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
spqr-coordinator usage shows 'run --config', but 'run' is not a subcommand (unknown command "run")Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pg-sharding/spqr#3092 · 1 comentario ·
Los mantenedores suelen responder en 1 día