Correct name of Docker containers when cleaning 13/6513/3
authorChristopher Lott (cl778h) <clott@research.att.com>
Tue, 1 Aug 2017 21:13:52 +0000 (17:13 -0400)
committerChristopher Lott (cl778h) <clott@research.att.com>
Tue, 1 Aug 2017 21:23:00 +0000 (17:23 -0400)
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>
boot/portal_vm_init.sh

index 78d8841..58321dd 100644 (file)
@@ -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