mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-25 04:24:30 -05:00
feat: possibility to run under podman and pasta #5291
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 @dwojewod on GitHub (May 22, 2025).
Check Existing Issues
Problem Description
podman version 5.4.0
pasta 0^20250217.ga1e48a0-1.el9.x86_64
ollama version is 0.7.0
ss -tunlp |grep 11434
tcp LISTEN 0 4096 127.0.0.1:11434 0.0.0.0:*
ps aux |grep pasta
/usr/bin/pasta --config-net -t 3000-3000:8080-8080 --dns-forward 169.254.1.1 -u none -T none -U none --no-map-gw --quiet --netns /run/user/101016/netns/netns-77e21303-ecee-5a5f-f98d-f645d88decb3 --map-guest-addr 169.254.1.2
podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bca41a707e92 ghcr.io/open-webui/open-webui:main bash start.sh 5 minutes ago Up 5 minutes 0.0.0.0:3000->8080/tcp open-webui
Rootless container created with:
podman run -d -p 3000:8080 -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://169.254.1.2:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main
Result : No model is available to select in GUI
2025-05-22 22:54:55.296 | ERROR | open_webui.routers.ollama:send_get_request:100 - Connection error: Cannot connect to host 169.254.1.2:11434 ssl:default [Connect call failed ('169.254.1.2', 11434)] - {}
Desired Solution you'd like
No connection issue from container to host port 11434 when container network is controlled by pasta.
Alternatives Considered
No response
Additional Context
No response