diff --git a/README.md b/README.md index a0894c78..585da317 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve ```bash docker build -t ollama-webui . -docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui --add-host=host.docker.internal:host-gateway +docker run -d -p 3000:3000 --add-host=host.docker.internal:host-gateway --name ollama-webui --restart always ollama-webui ``` Your Ollama Web UI should now be hosted at [http://localhost:3000](http://localhost:3000). Enjoy! 😄 diff --git a/run.sh b/run.sh index 3215c1a3..9d0d0360 100644 --- a/run.sh +++ b/run.sh @@ -1,5 +1,5 @@ docker stop ollama-webui || true docker rm ollama-webui || true docker build -t ollama-webui . -docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui --add-host=host.docker.internal:host-gateway +docker run -d -p 3000:3000 --add-host=host.docker.internal:host-gateway --name ollama-webui --restart always ollama-webui docker image prune -f \ No newline at end of file