From 5bab86d650d0af193070d6ed7b7051df3134e79d Mon Sep 17 00:00:00 2001 From: Dylan Sproule Date: Mon, 6 May 2024 12:24:52 +0700 Subject: [PATCH] Update clean.sh to only remove eth-pos docker containers --- clean.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/clean.sh b/clean.sh index 52619fe..2c64616 100755 --- a/clean.sh +++ b/clean.sh @@ -1,3 +1,6 @@ -docker rm -f $(docker ps -a -q) +docker ps -a | grep "eth-pos" | awk '{print $1}' | xargs docker stop +docker ps -a | grep "eth-pos" | awk '{print $1}' | xargs docker remove + rm -Rf ./consensus/beacondata ./consensus/validatordata ./consensus/genesis.ssz -rm -Rf ./execution/geth \ No newline at end of file +rm -Rf ./execution/geth +