mirror of
https://github.com/open-webui/docs
synced 2025-05-20 11:18:42 +00:00
Update FAQ
This commit is contained in:
parent
cd21cf5ba7
commit
4e3ad50874
19
docs/faq.md
19
docs/faq.md
@ -17,4 +17,23 @@ title: "📋 FAQ"
|
||||
|
||||
**A:** To make services running on the host accessible to Docker containers, configure these services to listen on all network interfaces, using the IP address `0.0.0.0`, instead of `127.0.0.1` which is limited to `localhost` only. This configuration allows the services to accept connections from any IP address, including Docker containers. It's important to be aware of the security implications of this setup, especially when operating in environments with potential external access. Implementing appropriate security measures, such as firewalls and authentication, can help mitigate risks.
|
||||
|
||||
#### **Q: Why isn't my Open WebUI updating? I've re-pulled/restarted the container, and nothing changed.**
|
||||
|
||||
**A:** Updating Open WebUI requires more than just pulling the new Docker image. Here’s why your updates might not be showing and how to ensure they do:
|
||||
|
||||
1. **Updating the Docker Image**: The command `docker pull ghcr.io/open-webui/open-webui:main` updates the Docker image but not the running container or its data.
|
||||
2. **Persistent Data in Docker Volumes**: Docker volumes store data independently of container lifecycles, preserving your data (like chat histories) through updates.
|
||||
3. **Applying the Update**: Ensure your update takes effect by removing the existing container (which doesn't delete the volume) and creating a new one with the updated image and existing volume attached.
|
||||
|
||||
This process updates the app while keeping your data safe.
|
||||
|
||||
#### **Q: Wait, delete my container, won't I lose my data?**
|
||||
|
||||
**A:** It's a common concern, but deleting a container doesn't mean you'll lose your data, provided you're using Docker volumes correctly. Here’s why:
|
||||
|
||||
- **Volumes Preserve Data**: Docker volumes are designed to persist data outside of container lifecycles. As long as your data is stored in a volume, it remains intact, regardless of what happens to the container.
|
||||
- **Safe Update Process**: When updating Open WebUI, removing the old container and creating a new one with the updated image does not affect the data stored in volumes. The key is not to explicitly delete the volume with commands like `docker volume rm`.
|
||||
|
||||
By following the correct update steps—pulling the new image, removing the old container without deleting the volume, and creating a new container with the updated image and the existing volume—your application code is updated while your data remains unchanged and safe.
|
||||
|
||||
If you have any further questions or concerns, please don't hesitate to reach out! 🛡️
|
||||
|
Loading…
Reference in New Issue
Block a user