fix: Add instructions to remove existing Docker images for local and remote setups

This commit is contained in:
Danny Avila
2025-04-25 14:06:13 -04:00
parent cacf1c2fbd
commit d5efc8e47e
2 changed files with 16 additions and 0 deletions

View File

@@ -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
```

View File

@@ -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
```