-
Notifications
You must be signed in to change notification settings - Fork 216
Description
I figured out that the bot is running in a container and got the ollama module added to the REQUIREMENTS list in the code, so it pip-installed the ollama module into the image, but I'm not able to call the ollama endpoint for some reason from inside of the container. I can write a small piece of code that works locally, but when I move that same code to run inside of the container, it hangs. I'm calling ollama by IP (not using localhost - because I know that localhost is different in a container), so I'm running ollama running on the outside interface, and referencing it by IP, which works locally using a simple python script, but when it's run inside the container, it just hangs. No logs.
Is there something weird about the container that it can't make outbound TCP connections or something?