From 02431de5a41c8406207fa06ebf9e10534c7b667c Mon Sep 17 00:00:00 2001 From: wy65701436 Date: Thu, 23 Mar 2017 22:45:01 -0700 Subject: [PATCH] add -v to docker-compose down --- Makefile | 4 ++-- make/install.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b126a2316..719c23d05 100644 --- a/Makefile +++ b/Makefile @@ -390,9 +390,9 @@ down: [ $$CONTINUE = "y" ] || [ $$CONTINUE = "Y" ] || (echo "Exiting."; exit 1;) @echo "stoping harbor instance..." @if [ "$(NOTARYFLAG)" = "true" ] ; then \ - $(DOCKERCOMPOSECMD) -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSEFILENAME) -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSENOTARYFILENAME) down ; \ + $(DOCKERCOMPOSECMD) -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSEFILENAME) -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSENOTARYFILENAME) down -v ; \ else \ - $(DOCKERCOMPOSECMD) -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSEFILENAME) down ; \ + $(DOCKERCOMPOSECMD) -f $(DOCKERCOMPOSEFILEPATH)/$(DOCKERCOMPOSEFILENAME) down -v ; \ fi @echo "Done." diff --git a/make/install.sh b/make/install.sh index 54c2b10be..def0189f0 100755 --- a/make/install.sh +++ b/make/install.sh @@ -166,13 +166,13 @@ then if [ -n "$(docker-compose -f docker-compose.yml -f docker-compose.notary.yml ps -q)" ] then note "stopping existing Harbor instance ..." - docker-compose -f docker-compose.yml -f docker-compose.notary.yml down + docker-compose -f docker-compose.yml -f docker-compose.notary.yml down -v fi else if [ -n "$(docker-compose -f docker-compose.yml ps -q)" ] then note "stopping existing Harbor instance ..." - docker-compose -f docker-compose.yml down + docker-compose -f docker-compose.yml down -v fi fi echo ""