add docker build scripts for testing-scheduler
[bottlenecks.git] / testing-scheduler / docker / ui / run.sh
diff --git a/testing-scheduler/docker/ui/run.sh b/testing-scheduler/docker/ui/run.sh
new file mode 100644 (file)
index 0000000..12f4bae
--- /dev/null
@@ -0,0 +1,17 @@
+##############################################################################\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
+conductor_network='conductor_default'\r
+group="x-lab"\r
+# ui image name\r
+ui_image="$group/testing-scheduler:ui"\r
+# ui container name\r
+ui_container="t-scheduler-ui"\r
+\r
+docker run -d --rm -p 5311:5311 --net=$conductor_network --name $ui_container $ui_image
\ No newline at end of file