mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 21:09:41 -05:00
[GH-ISSUE #1402] Startup process is stuck when running docker container in host mode #28009
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 @TheNaman047 on GitHub (Apr 3, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1402
Bug Report
Description
Command:
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:mainOutput:
Bug Summary:
UI container does not bootup and is stuck on the log above. But when ran in default network mode, it's working fine.
Steps to Reproduce:
Run the above mentioned command.
Expected Behavior:
Should load the UI in host mode same as in bridge mode of docker.
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Following screenshot is when the container is restarted:

Docker Container Logs:
@justinh-rahb commented on GitHub (Apr 3, 2024):
In host networking as in your example, you'd use http://localhost:8080 as the address, not the port 3000 one.. is this what you tried?