Commit fc9d74ed authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

docker run.sh updated

parent 72ebf958
...@@ -37,7 +37,7 @@ OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve ...@@ -37,7 +37,7 @@ OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve
```bash ```bash
docker build -t ollama-webui . docker build -t ollama-webui .
docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui --add-host=host.docker.internal:host-gateway
``` ```
Your Ollama Web UI should now be hosted at [http://localhost:3000](http://localhost:3000). Enjoy! 😄 Your Ollama Web UI should now be hosted at [http://localhost:3000](http://localhost:3000). Enjoy! 😄
......
docker stop ollama-webui || true docker stop ollama-webui || true
docker rm ollama-webui || true docker rm ollama-webui || true
docker build -t ollama-webui . docker build -t ollama-webui .
docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui --add-host=host.docker.internal:host-gateway
docker image prune -f docker image prune -f
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment