Stop and remove containers

From the Kaya deployment directory:

docker compose down

This removes the Compose containers and network. It does not delete the bind-mounted data/ and uploads/ directories.

Retain data for later use

Keep data/, uploads/, the Compose configuration and a verified backup. Protect data/.runtime.env; it is required to decrypt stored values when reinstalling.

To remove a locally cached image after the data decision, first identify the exact configured image with docker compose images, then use docker image rm IMAGE:TAG. Removing the image does not remove bind-mounted data.