External internet connectivity [docker][MacOS][Ollama]

I’m running ollama locally on my mac, however, the open web ui is running in a docker container. I’m running OttoDev in a container as well.

I’m trying to write a script that will login to a site and enter some information into a field. however, it seems I’m continually getting connectivity issues.

The script is attempting to run a curl command. The command is returning a socket hang up error. How do I ensure that the web container/docker container/deployment has the appropriate network connectivity?

I am nor sure about MAC but this is how I setup my connection in Ubuntu. Ollama is broken

The issue isn’t that I can’t select a local model (selecting a different model provider and then Ollama allows me to select the ollama model). The problem that I’m encountering is when the model is developing the code and attempting to run the code it’s getting a timeout error.

I may try the --host option but I’m not sure if that will solve my problem of the web container not having access to the internet.