desktop-environment/scripts/clean.sh
Jackson Delahunt 4327d414d3 sh-cache
2019-02-15 19:31:29 +11:00

7 lines
328 B
Bash
Executable file

REPO_ROOT=$(dirname $(realpath $0))/..
# Stop the running environment so there are no containers using the volumes, ignoring errors if it does not exist
$REPO_ROOT/scripts/stop.sh 2>/dev/null
# Remove volumes that can be recreated from scratch, directly from the container filesystem
docker volume rm DESKTOP_ENVIRONMENT_HOME