Open sindastra opened 7 months ago
Any comments on how to resolve this issue?
Same issue
You should use your container name, not the ip.
@ruecat
You should use your container name, not the ip.
Ollama is running on the host, not in a container.
@ruecat
You should use your container name, not the ip.
Ollama is running on the host, not in a container.
for ollama on host use host for network_mode in container:
# docker-compose sample
version: "3"
services:
bot:
build:
context: ./
network_mode: "host"
Hi, I configured the bot to connect to
172.17.0.1:11434
but I got an error message that it could not connect.If I run
curl 172.17.0.1:11434
I getOllama is running
, so I know the server is up and running and reachable. I also know the firewall is set up properly because other Docker images can access Ollama just fine.Here's the error: