mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Model 'llama3' Not Found but from another Docker container #104
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bauerem on GitHub (Jun 22, 2024).
If I make a request to the ollama-service with
http://localhost:11434then I get a correct response.If I make a request from another Docker container:
I get the error:
model 'llama3' not found, try pulling it firstIf I run this FastAPI app outside the Docker container and replace the 'ollama-service' with 'localhost', everything works fine.
Docker compose file
Dockerfile