Skip to content

Commit

Permalink
Added type containers
Browse files Browse the repository at this point in the history
  • Loading branch information
appdesign1987 authored and MrDoobPG committed Aug 31, 2019
1 parent b8e3505 commit 01b264a
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 01b264a

Please sign in to comment.