From e7a14de7212454558379335183a63f4755defbba Mon Sep 17 00:00:00 2001 From: "Christopher Lott (cl778h)" Date: Tue, 1 Aug 2017 17:13:52 -0400 Subject: [PATCH] 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) --- boot/portal_vm_init.sh | 7 +++++-- 1 file 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 -- 2.16.6