probably a trivial problem: I just discovered the “docker model” plugin and wanted to try it out. Unfortunately, the sample command “docker model run ai/smollm2”. But it cannot download the model. I get “Failed to pull model: unexpected end of stream while pulling model ai/smollm2” after a minute. I tried to use the --debug option, but it did not generate any additional output. Yes, I am behind a firewall and using a proxy. But I succeed to download regular images from Docker Hub. I checked netstat during the attempt to see whether the proxy settings are unrecognised (i.e. connections in SYN state blocked by the firewall), but did not see anything. Searches on Google did not provide any helpful information.
Can someone please give me some hints how to fix my problem? Thanks in advance.
Klaus
Addendum: Found the following in the log (“docker model logs”):
time="2025-11-06T08:43:20Z" level=info msg="Starting model pull: ai/smollm2" component=model-manager
time="2025-11-06T08:43:50Z" level=info msg="Request canceled/timed out while pulling model \"ai/smollm2\""
time="2025-11-06T08:55:27Z" level=info msg="Getting model by reference: ai/smollm2" component=model-manager
time="2025-11-06T08:55:27Z" level=error msg="Failed to get model: model not found reference: ai/smollm2" component=model-manager
time="2025-11-06T08:55:27Z" level=info msg="Will estimate memory required for \"ai/smollm2\""
time="2025-11-06T08:55:27Z" level=info msg="Checking model by reference: ai/smollm2" component=model-manager
time="2025-11-06T08:55:57Z" level=warning msg="Failed to validate sufficient system memory for model \"ai/smollm2\": estimating required memory for model: failed to parse GGUF: getting remote model(ai/smollm2): error while getting remote model: failed to pull model \"ai/smollm2\": UNKNOWN - Get \"https://index.docker.io/v2/\": dial tcp 35.169.242.14:443: i/o timeout"
time="2025-11-06T08:55:57Z" level=info msg="Pulling model: ai/smollm2"
time="2025-11-06T08:55:57Z" level=info msg="Starting model pull: ai/smollm2" component=model-manager
time="2025-11-06T08:56:27Z" level=info msg="Request canceled/timed out while pulling model \"ai/smollm2\""
Turns out to be a proxy problem. The company’s proxy software is not up to date and for some reason it has some problems when downloading from within the docker container. Strangely, I could download the LLMs via the web browser. Anyway, I managed to circumvent the proxy and the download succeeded. Thanks for your help nevertheless.