From 2d8da475067a8fd5825cea61904d0a6a5ead98d8 Mon Sep 17 00:00:00 2001 From: James Walker Date: Sat, 16 Jan 2016 15:17:31 -0500 Subject: [PATCH] stop docker machines --- home/bin/goodnight.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/bin/goodnight.sh b/home/bin/goodnight.sh index 3d445e8..9f3d1aa 100755 --- a/home/bin/goodnight.sh +++ b/home/bin/goodnight.sh @@ -3,6 +3,9 @@ # shutdown vagrant boxes for box in $(vagrant global-status|grep running|awk '{ print $1 }'); do vagrant halt $box; done +# shutdown docker machines +for machine in $(docker-machine ls -q); do docker-machine stop $machine; done + # kill tmux sessions tmux kill-server