diff --git a/pages/docs/local/docker.mdx b/pages/docs/local/docker.mdx index e2ccad2..4bf7745 100644 --- a/pages/docs/local/docker.mdx +++ b/pages/docs/local/docker.mdx @@ -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 ``` diff --git a/pages/docs/remote/docker_linux.mdx b/pages/docs/remote/docker_linux.mdx index 7253a9e..d9f52f9 100644 --- a/pages/docs/remote/docker_linux.mdx +++ b/pages/docs/remote/docker_linux.mdx @@ -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 ```