🔄 Updating Open WebUI
Updating your Docker Installation
Keeping your Open WebUI Docker installation up-to-date ensures you have the latest features and security updates. You can update your installation manually or use Watchtower for automatic updates.
Manual Update
Follow these steps to manually update your Open WebUI:
-
Pull the Latest Docker Image:
docker pull ghcr.io/open-webui/open-webui:main
-
Stop and Remove the Existing Container:
- This step ensures that you can create a new container from the updated image.
docker stop open-webui
docker rm open-webui -
Create a New Container with the Updated Image:
- Use the same
docker run
command you used initially to create the container, ensuring all your configurations remain the same.
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
- Use the same
This process updates your Open WebUI container to the latest version while preserving your data stored in Docker volumes.