mirror of
https://github.com/open-webui/docs.git
synced 2026-01-03 18:26:47 +07:00
Merge pull request #903 from Classic298/dev
This commit is contained in:
@@ -2,12 +2,16 @@
|
||||
|
||||
To update your local Docker installation to the latest version, you can either use **Watchtower** or manually update the container.
|
||||
|
||||
### Option 1: Using Watchtower
|
||||
### Option 1: Using Watchtower (Recommended Fork)
|
||||
|
||||
With [Watchtower](https://containrrr.dev/watchtower/), you can automate the update process:
|
||||
:::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](https://github.com/nickfedor/watchtower), you can automate the update process:
|
||||
|
||||
```bash
|
||||
docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once open-webui
|
||||
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.)*
|
||||
|
||||
@@ -130,15 +130,15 @@ docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui --r
|
||||
To update Open WebUI container easily, follow these steps:
|
||||
|
||||
#### Manual Update
|
||||
Use [Watchtower](https://containrrr.dev/watchtower) to update your Docker container manually:
|
||||
Use [Watchtower](https://github.com/nickfedor/watchtower) to update your Docker container manually:
|
||||
```bash
|
||||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once open-webui
|
||||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock nickfedor/watchtower --run-once open-webui
|
||||
```
|
||||
|
||||
#### Automatic Updates
|
||||
Keep your container updated automatically every 5 minutes:
|
||||
```bash
|
||||
docker run -d --name watchtower --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --interval 300 open-webui
|
||||
docker run -d --name watchtower --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock nickfedor/watchtower --interval 300 open-webui
|
||||
```
|
||||
|
||||
🔧 **Note**: Replace `open-webui` with your container name if it's different.
|
||||
|
||||
Reference in New Issue
Block a user