Skip to content

Commit

Permalink
Update v2dockerscript.js2
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG committed Oct 3, 2019
1 parent f1e3f44 commit f0f5cd0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions menu/roles/docstart/templates/v2dockerscript.js2
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f0f5cd0

Please sign in to comment.