From f0f5cd0afeef844738d6ba2f02b80bb4a8289648 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Thu, 3 Oct 2019 14:11:17 +0200 Subject: [PATCH] Update v2dockerscript.js2 --- menu/roles/docstart/templates/v2dockerscript.js2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/menu/roles/docstart/templates/v2dockerscript.js2 b/menu/roles/docstart/templates/v2dockerscript.js2 index ec998853..c547a45c 100644 --- a/menu/roles/docstart/templates/v2dockerscript.js2 +++ b/menu/roles/docstart/templates/v2dockerscript.js2 @@ -1,14 +1,14 @@ containers=$(comm -12 <(docker ps -a -q | sort) <(docker ps -q | sort)) -for container in $containers; +for containers in $containers; do - echo Stopping $container - docker=$(docker stop $container) + echo Stopping $containers + docker=$(docker stop $containers) done sleep 9 -for container in $containers; +for containers in $containers; do - echo Starting $container - docker=$(docker start $container) + echo Starting $containers + docker=$(docker start $containers) done