[GH-ISSUE #10365] (openshift) - pulled model in the container but the model directory is empty in openshift. #6809

Open
opened 2026-04-12 18:35:44 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @doyoungim999 on GitHub (Apr 22, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10365

What is the issue?

Hi,
When I deployed ollama with a model (llama3.2) on openshift, model directory is empty.

FROM ollama/ollama

ENV OLLAMA_MODELS=/.ollama/models

RUN ollama serve & server=$! ; sleep 2 ; ollama pull llama3.2

ENTRYPOINT [ "/bin/bash", "-c", "(sleep 2 ; ) & exec /bin/ollama $0" ]

CMD [ "serve" ]

When I run using podman, I can see /.ollama/models contents.
However I cannot see on openshift. Why is that ?

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @doyoungim999 on GitHub (Apr 22, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10365 ### What is the issue? Hi, When I deployed ollama with a model (llama3.2) on openshift, model directory is empty. <Dockerfile> FROM ollama/ollama ENV OLLAMA_MODELS=/.ollama/models RUN ollama serve & server=$! ; sleep 2 ; ollama pull llama3.2 ENTRYPOINT [ "/bin/bash", "-c", "(sleep 2 ; ) & exec /bin/ollama $0" ] CMD [ "serve" ] When I run using podman, I can see /.ollama/models contents. However I cannot see on openshift. Why is that ? ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-12 18:35:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#6809