aboutsummaryrefslogtreecommitdiffstats
path: root/docker/remove_image.sh
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-01 09:35:20 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-01 09:36:29 +0800
commitd25d9fb96d25c4b5be08f5affd07db22516bfb2b (patch)
treefb617c17a3befd3f168855d90cf7de8ead2f9d7e /docker/remove_image.sh
parente676d851e8bba882094d972aa6a9ee5409067891 (diff)
Move docker dir to root dir
Change-Id: Iea49ff5a41b09b07fadd29b54ad46164292d3823 Issue-Id: VFC-208 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker/remove_image.sh')
-rwxr-xr-xdocker/remove_image.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/remove_image.sh b/docker/remove_image.sh
new file mode 100755
index 00000000..962e95c8
--- /dev/null
+++ b/docker/remove_image.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+function remove_lcm_container {
+ docker container stop vfc-nfvo-lcm
+ docker container rm vfc-nfvo-lcm
+}
+
+function remove_lcm_image {
+ docker image rm vfc-nfvo-lcm
+}
+
+remove_lcm_container