diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 8548873..2cd81c6 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -197,6 +197,11 @@ fi create_project () { + docker pull $IMAGE_origin << ANSWERS +yes +yes +yes +ANSWERS if [ "$Wdir" == "$HOME" ]; then echo"" echo "You are in Your Home directory" @@ -477,7 +482,7 @@ build_and_push_image () echo "$ docker build -t \"$IMAGE_NAME\" ." printf "\\n" #docker build -t "$REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME" . - docker build -t "$IMAGE_NAME" . + docker build --force-rm --pull -t "$IMAGE_NAME" . } @@ -491,7 +496,6 @@ up_master () printf "\\n" docker-compose rm -f -s -v - docker-compose up --build --remove-orphans --force-recreate -d masterservice << ANSWERS yes yes