mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
fix: Add instructions to remove existing Docker images for local and remote setups
This commit is contained in:
@@ -50,6 +50,14 @@ The following commands will fetch the latest LibreChat project changes, includin
|
||||
docker compose down
|
||||
```
|
||||
|
||||
```bash filename="Remove all existing docker images"
|
||||
# Linux/Mac
|
||||
docker images -a | grep "librechat" | awk '{print $3}' | xargs docker rmi
|
||||
|
||||
# Windows (PowerShell)
|
||||
docker images -a --format "{{.ID}}" --filter "reference=*librechat*" | ForEach-Object { docker rmi $_ }
|
||||
```
|
||||
|
||||
```bash filename="Pull latest project changes"
|
||||
git pull
|
||||
```
|
||||
|
||||
@@ -346,6 +346,14 @@ You can update manually without the scripts if you encounter issues.
|
||||
docker compose -f ./deploy-compose.yml down
|
||||
```
|
||||
|
||||
```bash filename="Remove all existing docker images"
|
||||
# Linux/Mac
|
||||
docker images -a | grep "librechat" | awk '{print $3}' | xargs docker rmi
|
||||
|
||||
# Windows (PowerShell)
|
||||
docker images -a --format "{{.ID}}" --filter "reference=*librechat*" | ForEach-Object { docker rmi $_ }
|
||||
```
|
||||
|
||||
```bash filename="Pull latest project changes"
|
||||
git pull
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user