-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Compose can't find local Ollama on Linux #32
Comments
Did you change Some networking issues are definitely possible, this has always been an issue on different platforms, I remember struggling with this a lot on linux. It can also be firewall, if you use |
I did, but still no luck. The issue seems to stem from the fact that, on Linux, docker engine can run natively without needing the "magic" supplied by Docker Desktop (or Podman Desktop or Rancher or ...). There seems to be three different ways to move forward on Linux:
In any case, I don't think it makes sense to update the compose file for this, as the majority of users won't run into this. But maybe add a troubleshooting doc and include a solution there for the few who do. |
I tried this on mac and it was so slow it was unusable.
Could you try this with podman please? Should be enough to add it to the |
Can confirm updating |
Trying to use the bee-stack with local ollama on Linux runs into a few issues.
On Windows/Mac, the default value of
OLLAMA_HOST
(http://host.docker.internal:11434) works fine. However, this doesn't work on Linux without some additional config (using extra_hosts to maphost.docker.internal
tohost-gateway
) and even then there's still some network config needed (as I don't think we're using the default bridge network, so the extra_host mapping doesn't help us).Ideally, we'd have a config that would work across Mac, Windows, and Linux. Though depending on how soon #27 is ready, it may make sense to focus there rather than making more tweaks to the compose.
The text was updated successfully, but these errors were encountered: