aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xk6-tests/teardown.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/k6-tests/teardown.sh b/k6-tests/teardown.sh
index 45422f9d12..1b4d721a23 100755
--- a/k6-tests/teardown.sh
+++ b/k6-tests/teardown.sh
@@ -18,11 +18,5 @@
echo '================================== docker info =========================='
docker ps -a
-echo 'Stopping, Removing all running containers...'
-docker stop $(docker ps -aq) && docker rm $(docker ps -aq)
-
-echo 'Removing Volumes...'
-docker volume prune -f
-
-echo 'Removing Networks...'
-docker network prune -f
+echo 'Stopping, Removing containers and volumes...'
+docker-compose -f ../docker-compose/docker-compose.yml --profile dmi-stub down --volumes