Skip to content

Uninstalling LeakLens

To stop all containers without removing data:

Terminal window
docker compose down
  1. Stop and remove all containers, networks, and volumes:

    Terminal window
    docker compose down -v
  2. Remove the cloned directory:

    Terminal window
    cd .. && rm -rf LeakLens

If you want to remove the containers but keep the MariaDB data on disk, stop without the -v flag and back up the data/mariadb directory:

Terminal window
docker compose down
cp -r data/mariadb ~/leaklens-backup

You can restore by placing the backup back at data/mariadb before running docker compose up -d again.