Skip to content

Conversation

Copy link

Copilot AI commented Oct 14, 2025

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Issue reported, please fix:

I am running Docker Engine on a Rocky Linux VM behind a firewall and therefore I have provided a proxy configuration in /etc/systemd/system/docker.service.d/http-proxy.conf:

[Service]
Environment="HTTP_PROXY=http://some.proxy.server:3128"
Environment="HTTPS_PROXY=http://some.proxy.server:3128"
Environment="NO_PROXY=localhost,127.0.0.1"

With this configuration pulling of images works BUT pulling of models does not:

❯ docker model run ai/smollm2
353d9a3ec7ee: Pull complete Digest: sha256:00fba948428db7f9a750a7a74b3af55ab99801d0a6f1a1d7b68169a948661342
Status: Downloaded newer image for docker/model-runner:latest

Successfully pulled docker/model-runner:latest
Starting model runner container docker-model-runner...
Unable to find model 'ai/smollm2' locally. Pulling from the server.
Failed to pull model: pulling ai/smollm2 failed with status 500 Internal Server Error: error while pulling model: reading model from registry: failed to pull model "ai/smollm2": UNKNOWN - Get "https://index.docker.io/v2/": net/http: TLS handshake timeout

So seemingly the proxy configuration is not passed to the container docker-model-runner but there is also no possibility to manually specify it.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@ericcurtin ericcurtin closed this Oct 14, 2025
@ericcurtin ericcurtin deleted the copilot/fix-model-pulling-error branch October 14, 2025 21:47
Copilot AI requested a review from ericcurtin October 14, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants