aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-08-01 17:13:52 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-08-01 17:23:00 -0400
commite7a14de7212454558379335183a63f4755defbba (patch)
treeb619298104ab8df902e57ab39b023eabcb89f052
parent1f18e460ca08b54a47993ddcce7934012c85f60a (diff)
Correct name of Docker containers when cleaning
1. For portal, was using ecomp_portal, should be onap_portal 2. For widget-ms, was using IMAGE widget-ms:latest, should be ecomp-portal-widget-ms Issue: PORTAL-30 Change-Id: I954ea14d997c272bec2ced20de8dcf381ef13769 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
-rw-r--r--boot/portal_vm_init.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/boot/portal_vm_init.sh b/boot/portal_vm_init.sh
index 78d88414..58321dd7 100644
--- a/boot/portal_vm_init.sh
+++ b/boot/portal_vm_init.sh
@@ -27,10 +27,13 @@ docker tag $NEXUS_DOCKER_REPO/openecomp/portaldb:$DOCKER_IMAGE_VERSION ecompdb:p
docker tag $NEXUS_DOCKER_REPO/openecomp/portalapps:$DOCKER_IMAGE_VERSION ep:1610-1
docker tag $NEXUS_DOCKER_REPO/openecomp/portalwms:$DOCKER_IMAGE_VERSION widget-ms:latest
+# Remove the named containers
+# These names are in os_settings.sh
docker rm -f ecompdb_portal
-docker rm -f 1610-1
-docker rm -f widget-ms:latest
+docker rm -f onap_portal
+docker rm -f ecomp-portal-widget-ms
+# Recreate the named containers
cd portal/deliveries
./dbstart.sh
./new_start.sh