mirror of
https://github.com/open-webui/docs.git
synced 2026-07-20 15:38:19 -04:00
doc: rootless mode docker installation #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bwiercinski on GitHub (Jan 26, 2024).
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-gatewaydoes not work on rootless by design stack overflow. Also--network=hostdoesn't work docker docs. What I had to do is:host.docker.internalto my local interface (e.g. wifi interface) using:(alternatively replace in
$(...)toip addr show wifi-interface | grep -oP 'inet \K[0-9.]+')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
@tjbck commented on GitHub (Jan 26, 2024):
Hi, Thanks for the suggestion! Feel free edit our troubleshooting.md doc and make a PR!
@jonasbg commented on GitHub (Feb 14, 2024):
How does this work with podman. Another rootless provider?
@GZGavinZhao commented on GitHub (Feb 21, 2024):
Podman works the same, except the
--add-hostbecomes--add-host=host.containers.internal:host-gateway. For example, my command for running Ollama is:Note that as mentioned by the OP, with this method the Ollama server must be hosted at
0.0.0.0instead of the default127.0.0.1.@ghost commented on GitHub (Feb 23, 2024):
I've been using a Podman rootless configuration for some time. I've submitted pull request open-webui/open-webui#877 to update the README with details. This configuration doesn't require Ollama to listen anywhere but localhost. 🥂