Skip to content

Commit

Permalink
doc update:Bug in Update Documentation open-webui#264
Browse files Browse the repository at this point in the history
Documented updates
  • Loading branch information
parniantaghipour committed Nov 9, 2024
1 parent 334e559 commit adf9d94
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/getting-started/updating.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ Follow these steps to manually update your Open WebUI:
```

3. **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.
- **For non-CUDA (CPU-bound) users**, use the same `docker run` command you used initially to create the container, ensuring all your configurations remain the same:
```bash
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
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart
- **For CUDA (GPU-enabled) users**, if you want to leverage GPU acceleration, use the following command instead:
```bash
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always --gpus all ghcr.io/open-webui/open-webui:main
```
This process updates your Open WebUI container to the latest version while preserving your data stored in Docker volumes.
Expand Down

0 comments on commit adf9d94

Please sign in to comment.