From 1cfdfadd5878335ce15a5a70ca1f19c77e226543 Mon Sep 17 00:00:00 2001 From: Self Denial Date: Sat, 13 Apr 2024 01:01:19 -0600 Subject: [PATCH] Update Podman documentation to support Podman 5.0. --- docs/getting-started/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/getting-started/index.md b/docs/getting-started/index.md index 819f333..c08593a 100644 --- a/docs/getting-started/index.md +++ b/docs/getting-started/index.md @@ -196,6 +196,14 @@ Rootless container execution with Podman (and Docker/ContainerD) does **not** su podman create -p 127.0.0.1:3000:8080 --network slirp4netns:allow_host_loopback=true --add-host=ollama.local:10.0.2.2 --env 'OLLAMA_BASE_URL=http://ollama.local:11434' --env 'ANONYMIZED_TELEMETRY=False' -v open-webui:/app/backend/data --label io.containers.autoupdate=registry --name open-webui ghcr.io/open-webui/open-webui:main ``` + :::note + `[Podman 5.0](https://www.redhat.com/en/blog/podman-50-unveiled) has updated the default rootless network backend to use the more performant [pasta](https://passt.top/passt/about/). While `slirp4netns:allow_host_loopback=true` still achieves the same local-only intention, it's now recommended use a simple TCP forward instead like: `--network=pasta:-T,11434 --add-host=ollama.local:127.0.0.1`. Full example: + ::: + + ```bash + podman create -p 127.0.0.1:3000:8080 --network=pasta:-T,11434 --add-host=ollama.local:127.0.0.1 --env 'OLLAMA_BASE_URL=http://ollama.local:11434' --env 'ANONYMIZED_TELEMETRY=False' -v open-webui:/app/backend/data --label io.containers.autoupdate=registry --name open-webui ghcr.io/open-webui/open-webui:main + ``` + 3. Prepare for systemd user service: ```bash mkdir -p ~/.config/systemd/user/