[GH-ISSUE #5061] Ollama doesn't start in Docker! #3196

Closed
opened 2026-04-12 13:41:23 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @samanthacarapathy on GitHub (Jun 15, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5061

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

Hi guys, I'm trying to deploy Ollama to Hugging Face space using the Docker SDK. I've added this Git repo to Hugging Face since spaces are hosted on the Hugging Face Hub as Git repo and using this Dockerfile without any changes but, it keeps building. I could never get ollama to successfully running. I'm using amd64 architecture and no GPU can someone resolve this issue?

OS

Docker

GPU

No response

CPU

AMD

Ollama version

Latest

Originally created by @samanthacarapathy on GitHub (Jun 15, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5061 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? Hi guys, I'm trying to deploy Ollama to Hugging Face space using the Docker SDK. I've added this Git repo to Hugging Face since spaces are hosted on the Hugging Face Hub as Git repo and using this Dockerfile without any changes but, it keeps building. I could never get ollama to successfully running. I'm using amd64 architecture and no GPU can someone resolve this issue? ### OS Docker ### GPU _No response_ ### CPU AMD ### Ollama version Latest
GiteaMirror added the needs more infobug labels 2026-04-12 13:41:23 -05:00
Author
Owner

@dhiltgen commented on GitHub (Jun 18, 2024):

Can you share more logs or output so we can understand what's going wrong?

Does the docker build fail? If so, can you share your Dockerfile and the docker build failure log?

Does it fail to docker run? If so, can you share the logs of the container?

<!-- gh-comment-id:2177185034 --> @dhiltgen commented on GitHub (Jun 18, 2024): Can you share more logs or output so we can understand what's going wrong? Does the `docker build` fail? If so, can you share your Dockerfile and the docker build failure log? Does it fail to `docker run`? If so, can you share the logs of the container?
Author
Owner

@dhiltgen commented on GitHub (Jul 3, 2024):

If you're still having problems getting it to work, please share the information above and I'll reopen the issue

<!-- gh-comment-id:2207492926 --> @dhiltgen commented on GitHub (Jul 3, 2024): If you're still having problems getting it to work, please share the information above and I'll reopen the issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3196