compose/pkg
Nicolas De Loof 08541c2266 fix(models): don't pull again a model written in short form
ensureModels compared the model of the compose file verbatim with the
tags `docker model ls` lists, which are in full form
(docker.io/ai/smollm2:latest). A model written ai/smollm2 never matched
and was pulled on every `up`, even when it was already there.

Both sides are now given their full form before they are compared, as
image references are. Hugging Face models get the form the runner lists
them under: resolved case-insensitively and listed as
huggingface.co/org/model-gguf:latest for hf.co/Org/Model-GGUF (the tag
keeps its case). Any other reference that cannot be parsed is compared
as it is.

Fixes #14531

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-11-27 08:45:05 +01:00
..
api run: trigger a job through the engine like a service 2026-11-17 13:48:57 +01:00
bridge refactor(compose): share the label filter builders 2026-10-29 11:59:43 +01:00
compose fix(models): don't pull again a model written in short form 2026-11-27 08:45:05 +01:00
dryrun feat(registry): use the Docker Desktop Hub session for Docker Hub credentials 2026-10-07 14:24:28 +02:00
mocks run: trigger a job through the engine like a service 2026-11-17 13:48:57 +01:00
remote feat(oci): directly load from cache if possible 2026-11-26 16:07:36 +01:00
utils fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
watch golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00