[GH-ISSUE #11302] in container's terminal, can't connect to ollama server #69513

Open
opened 2026-05-04 18:17:46 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @novumdxw on GitHub (Jul 5, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11302

I want to pull a model in docker container.
First I run command docker exec -it ollama /bin/bash.
Second running command ollama list, I get a message "Error: something went wrong, please see the ollama server logs for details", and the ollama server log don't output.

The container environment currently sets OLLAMA_HOST="0.0.0.0:11434".
If I set OLLAMA_HOST is http://localhost:11434.
Third running commad ollama list, I get a message "NAME ID SIZE MODIFIE", and ollama server log output.

Originally created by @novumdxw on GitHub (Jul 5, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11302 I want to pull a model in docker container. First I run command docker exec -it ollama /bin/bash. Second running command ollama list, I get a message "Error: something went wrong, please see the ollama server logs for details", and the ollama server log don't output. The container environment currently sets OLLAMA_HOST="0.0.0.0:11434". If I set OLLAMA_HOST is http://localhost:11434. Third running commad ollama list, I get a message "NAME ID SIZE MODIFIE", and ollama server log output.
GiteaMirror added the docker label 2026-05-04 18:17:46 -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#69513