Remove OpenRAG
If you want to reset your OpenRAG containers without removing OpenRAG entirely, see Reset OpenRAG containers and Reinstall OpenRAG.
Uninstall TUI-managed deployments
If you used the automated installer script or uvx to install OpenRAG, clear your uv cache (uv cache clean) to remove the TUI environment, and then delete the ~/.openrag directory.
If you used uv to install OpenRAG, run uv remove openrag in your Python project, and then delete the ~/.openrag directory.
Uninstall self-managed deployments
For self-managed services, destroy the containers, prune any additional container objects, delete any remaining OpenRAG files, and then shut down the Docling service.
Uninstall with docker compose or podman compose
Use these steps to uninstall a self-managed OpenRAG deployment with streamlined docker compose or podman compose commands:
-
Destroy the containers, volumes, and local images, and then remove (prune) any additional container objects:
Dockerdocker compose down --volumes --remove-orphans --rmi local
docker system prune -fPodmanpodman compose down --volumes --remove-orphans --rmi local
podman system prune -f -
Remove OpenRAG's
.envfile and the~/.openrag/documentsdirectory, which aren't deleted by the previous commands. -
Stop
docling-serve:uv run python scripts/docling_ctl.py stop
Uninstall with discrete docker or podman commands
Use these commands to uninstall a self-managed OpenRAG deployment with discrete docker or podman commands:
-
Stop all running containers:
Dockerdocker stop $(docker ps -q)Podmanpodman stop --all -
Remove and clean up containers:
-
Remove all containers, including stopped containers:
Dockerdocker rm --force $(docker ps -aq)Podmanpodman rm --all --force -
Remove all images:
Dockerdocker rmi --force $(docker images -q)Podmanpodman rmi --all --force -
Remove all volumes:
Dockerdocker volume prune --forcePodmanpodman volume prune --force -
Remove all networks except the default network:
Dockerdocker network prune --forcePodmanpodman network prune --force -
Clean up any leftover data:
Dockerdocker system prune --all --force --volumesPodmanpodman system prune --all --force --volumes
-
-
Remove OpenRAG's
.envfile and the~/.openrag/documentsdirectory, which aren't deleted by the previous commands. -
Stop
docling-serve:uv run python scripts/docling_ctl.py stop