Skip to content

Commit

Permalink
Update v2dockerscript.js2
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored Nov 25, 2019
1 parent 6411499 commit 84d96b6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions menu/roles/docstart/templates/v2dockerscript.js2
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@

# Regular color(s)
NORMAL="\033[0;39m"
GREEN="\033[32m"

echo -e "
$GREEN
┌───────────────────────────────────────────────────────────────────────────────────┐
 │ Title: Restart Running Containers Script │
 │ Author(s): desimaniac │
 │ Description: Stop running containers and start them back up. │
 ├───────────────────────────────────────────────────────────────────────────────────┤
 │ GNU General Public License v3.0 │
 └───────────────────────────────────────────────────────────────────────────────────┘
$NORMAL
"

containers=$(comm -12 <(docker ps -a -q | sort) <(docker ps -q | sort))
for container in $containers;
do
Expand Down

0 comments on commit 84d96b6

Please sign in to comment.