From c34e10f3e7d221375e70524b900f424c964f4363 Mon Sep 17 00:00:00 2001 From: Piotr Delawski Date: Tue, 4 Jan 2022 18:49:22 +0100 Subject: [PATCH] Clean up docker volumes when site-reset requested --- bin/local-env/stop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/local-env/stop.sh b/bin/local-env/stop.sh index 5ec3ac07bff..c2ed33f9d77 100755 --- a/bin/local-env/stop.sh +++ b/bin/local-env/stop.sh @@ -21,7 +21,7 @@ fi # Stop existing containers. if [ "$1" == "--down" ]; then echo -e $(status_message "Stopping and removing Docker containers...") - dc down --remove-orphans >/dev/null 2>&1 + dc down --volumes --remove-orphans >/dev/null 2>&1 else echo -e $(status_message "Stopping Docker containers...") dc stop >/dev/null 2>&1