[GH-ISSUE #12448] Docker ENV pull models and ensure availability on container_healthy status #70330

Closed
opened 2026-05-04 21:08:46 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @uvulpos on GitHub (Sep 29, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12448

To run my application tests with the AI in a pipeline, I have to pull models first. So, I could make a docker exec call to pull them, or, I would like to define them as a variable, and it gets pulled and stored in a volume automatically. The advantage of this is, that my testing setup then is unified in my CI and my local system and if I have to deploy Ollama in a Kubernetes environment, everything is already ready because everything is defined as code

  • Docker Env can pull models on startup
  • Docker auto-pull is documented on how to store models in docker volume / Kubernetes PVC
  • Docker pull can be verified by docker healthcheck

References: #12262

Originally created by @uvulpos on GitHub (Sep 29, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12448 To run my application tests with the AI in a pipeline, I have to pull models first. So, I could make a docker exec call to pull them, or, I would like to define them as a variable, and it gets pulled and stored in a volume automatically. The advantage of this is, that my testing setup then is unified in my CI and my local system and if I have to deploy Ollama in a Kubernetes environment, everything is already ready because everything is defined as code - [ ] Docker Env can pull models on startup - [ ] Docker auto-pull is documented on how to store models in docker volume / Kubernetes PVC - [ ] Docker pull can be verified by docker healthcheck References: #12262
GiteaMirror added the feature request label 2026-05-04 21:08:46 -05:00
Author
Owner

@rick-github commented on GitHub (Sep 29, 2025):

https://github.com/ollama/ollama/issues/7046#issuecomment-2383792234

<!-- gh-comment-id:3348871698 --> @rick-github commented on GitHub (Sep 29, 2025): https://github.com/ollama/ollama/issues/7046#issuecomment-2383792234
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#70330