mirror of
https://github.com/open-webui/docs
synced 2025-05-19 18:58:41 +00:00
Improve slirp4netns instructions, add volume bind for podman
This commit is contained in:
parent
1582c7420f
commit
baf9a62008
@ -8,7 +8,7 @@ Podman is a daemonless container engine for developing, managing, and running OC
|
||||
- **Run a Container:**
|
||||
|
||||
```bash
|
||||
podman run -d --name openwebui -p 3000:8080 ghcr.io/open-webui/open-webui:main
|
||||
podman run -d --name openwebui -p 3000:8080 -v open-webui:/app/backend/data ghcr.io/open-webui/open-webui:main
|
||||
```
|
||||
|
||||
- **List Running Containers:**
|
||||
@ -19,10 +19,12 @@ Podman is a daemonless container engine for developing, managing, and running OC
|
||||
|
||||
## Networking with Podman
|
||||
|
||||
If networking issues arise, you may need to adjust your network settings:
|
||||
If networking issues arise, use slirp4netns to adjust the pod's network settings to allow the container to access your computer's ports.
|
||||
|
||||
Ensure you have [slirp4netns installed](https://github.com/rootless-containers/slirp4netns?tab=readme-ov-file#install), remove the previous container if it exists using `podman rm`, and start a new container with
|
||||
|
||||
```bash
|
||||
--network=slirp4netns:allow_host_loopback=true
|
||||
podman run -d --network=slirp4netns:allow_host_loopback=true --name openwebui -p 3000:8080 -v open-webui:/app/backend/data ghcr.io/open-webui/open-webui:main
|
||||
```
|
||||
|
||||
Refer to the Podman [documentation](https://podman.io/) for advanced configurations.
|
||||
|
Loading…
Reference in New Issue
Block a user