desktop-environment/docker/scripts/clean.sh
Jackson Delahunt f0c5659bf8 readlink
2019-02-27 11:28:04 +11:00

8 lines
394 B
Bash
Executable file

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