summaryrefslogtreecommitdiffstats
path: root/mock-cds/cleanup-dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mock-cds/cleanup-dev.sh')
-rw-r--r--mock-cds/cleanup-dev.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/mock-cds/cleanup-dev.sh b/mock-cds/cleanup-dev.sh
new file mode 100644
index 0000000..fb4a1bc
--- /dev/null
+++ b/mock-cds/cleanup-dev.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+export APP_NAME=mock-cds-app
+
+docker rm $(docker stop $(docker ps -a -q --filter ancestor="${APP_NAME}" --format="{{.ID}}"))
+docker rmi ${APP_NAME} \ No newline at end of file