Immich – Complete Uninstall & Data Wipe (Docker)
Immich Uninstall Docker Volumes Cleanup
This guide removes an Immich Docker deployment completely: containers, images, volumes, configuration, and stored media. Use this if you want to start over as if Immich was never installed.
1. Stop Immich containers
cd /opt/immich
docker compose down
2. Remove Immich volumes (data wipe)
docker volume rm immich_upload pgdata model-cache
3. Remove Immich Docker images
docker rmi ghcr.io/immich-app/immich-server:v1.105.0
docker rmi ghcr.io/immich-app/immich-machine-learning:v1.105.0-cuda
docker image prune -a
4. Remove leftover containers (if any)
docker ps -a | grep immich
docker rm <container_id>
5. Remove the Immich folder (configuration wipe)
This step removes your
docker-compose.yml, .env, logs, and any local configuration files. It does not affect Docker volumes (those were removed earlier).If your Immich installation lives in /opt/immich:
sudo rm -rf /opt/immich
To confirm the folder is gone:
ls /opt
6. Verify Immich is fully removed
- Containers:
docker ps -a | grep immich→ no output - Images:
docker images | grep immich→ no output - Volumes:
docker volume ls | grep immich→ no output - Folder:
/opt/immichremoved
If you reinstall Immich and old photos instantly reappear, it means a volume or bind‑mounted directory was not removed. Double‑check your compose file for custom paths.
7. Quick reinstall checklist
- Create a new Immich directory (e.g.
/opt/immich) - Create a fresh
.env - Use a clean, up‑to‑date
docker-compose.yml - Run
docker compose up -d
Комментариев нет