From 27bac32f86b06b8ade0e786a12fb06f00c040e91 Mon Sep 17 00:00:00 2001 From: jstar Date: Mon, 21 Oct 2024 13:12:10 -0400 Subject: [PATCH] [nos3#267] Updates to real_clean so that 'make real-clean' now removes any unnecessary docker swarm stuff --- scripts/real_clean.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/real_clean.sh b/scripts/real_clean.sh index 0ca0ba06..5f13e08d 100755 --- a/scripts/real_clean.sh +++ b/scripts/real_clean.sh @@ -23,4 +23,8 @@ $DCALL system prune -f echo "Cleaning up local user directory..." yes | rm -r $USER_NOS3_DIR 2> /dev/null +echo "Removing superfluous Docker networks and such..." +yes | docker network prune +yes | docker swarm leave --force + exit 0