Files
datawave/docker/cleanup.sh
9b2b652221 Codex assisted: Replace Quickstart container with using the container… (#3856)
…s from NationalSecurityAgency/datawave-stack-docker-images

---------

Co-authored-by: Moriarty <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
2026-08-19 16:36:02 +00:00

11 lines
265 B
Bash
Executable File

#!/usr/bin/env bash
if [[ "${@/keepdata}" == "$@" ]]; then
docker compose down --volumes --remove-orphans
else
docker compose down --remove-orphans
fi
docker image prune -f
if [[ "${@/keeplog}" == "$@" ]]; then
sudo find logs -type f -name '*log*' -delete
fi