add docker build scripts for testing-scheduler
[bottlenecks.git] / testing-scheduler / docker / clean.sh
diff --git a/testing-scheduler/docker/clean.sh b/testing-scheduler/docker/clean.sh
new file mode 100644 (file)
index 0000000..b18e406
--- /dev/null
@@ -0,0 +1,32 @@
+##############################################################################\r
+# Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.\r
+#\r
+# All rights reserved. This program and the accompanying materials\r
+# are made available under the terms of the Apache License, Version 2.0\r
+# which accompanies this distribution, and is available at\r
+# http://www.apache.org/licenses/LICENSE-2.0\r
+##############################################################################\r
+\r
+sudo docker rm -f t-scheduler-server \\r
+                  t-scheduler-ui \\r
+                  conductor_conductor-server_1 \\r
+                  conductor_conductor-ui_1 \\r
+                  conductor_dynomite_1 \\r
+                  conductor_elasticsearch_1\r
+\r
+sudo docker network rm conductor_default\r
+\r
+sudo docker rmi x-lab/testing-scheduler:server \\r
+                x-lab/testing-scheduler:ui \\r
+                x-lab/conductor:builder \\r
+                conductor:ui \\r
+                conductor:server \\r
+                elasticsearch:2.4 \\r
+                v1r3n/dynomite:latest \\r
+                java:8-jre-alpine \\r
+                python:2.7 \\r
+                node:alpine \\r
+                nginx:latest \\r
+                java:latest \\r
+\r
+echo "--- Clean Finished ---"
\ No newline at end of file