mirror of
https://github.com/docker/compose.git
synced 2026-11-28 02:49:57 +00:00
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> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||