mirror of
https://github.com/open-webui/docs.git
synced 2026-01-03 18:26:47 +07:00
1.1 KiB
1.1 KiB
Updating
To update your local Docker installation to the latest version, you can either use Watchtower or manually update the container.
Option 1: Using Watchtower (Recommended Fork)
:::info Deprecation Notice
The original containrrr/watchtower is no longer maintained and may fail with newer Docker versions. We recommend using the nickfedor/watchtower fork.
:::
With Watchtower, you can automate the update process:
docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock nickfedor/watchtower --run-once open-webui
(Replace open-webui with your container's name if it's different.)
Option 2: Manual Update
-
Stop and remove the current container:
docker rm -f open-webui -
Pull the latest version:
docker pull ghcr.io/open-webui/open-webui:main -
Start the container again:
docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main
Both methods will get your Docker instance updated and running with the latest build.