-
Notifications
You must be signed in to change notification settings - Fork 490
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
Is your feature request related to a problem? Please describe.
I've tried to install webui on a docker running in rootless mode. Unfortunately, the instructions don't work for rootless. The --add-host=host.docker.internal:host-gateway does not work on rootless by design stack overflow. Also --network=host doesn't work docker docs. What I had to do is:
- Bind
host.docker.internalto my local interface (e.g. wifi interface) using:
docker run -d -p 3000:8080 --add-host "host.docker.internal:$(nslookup "$HOST.home" | awk '/^Address: /{ print $2 }')" -v ollama-webui:/app/backend/data --name ollama-webui --restart always ghcr.io/ollama-webui/ollama-webui:main
(alternatively replace in $(...) to ip addr show wifi-interface | grep -oP 'inet \K[0-9.]+')
- Host the ollama server at 0.0.0.0 instead of 127.0.0.1. Instructions here: ollama docs
Describe the solution you'd like
Improve documentation for other affected people.
Describe alternatives you've considered
use socat
https://stackoverflow.com/a/74979409/11226692
josh and pwab
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers