diff --git a/home/bin/goodnight.sh b/home/bin/goodnight.sh index ab6fb45..6302243 100755 --- a/home/bin/goodnight.sh +++ b/home/bin/goodnight.sh @@ -4,8 +4,9 @@ echo "* Shutdown vagrant..." for box in $(vagrant global-status|grep running|awk '{ print $1 }'); do vagrant halt $box; done echo "* Shutdown docker..." -for machine in $(docker-machine ls -q); do docker-machine stop $machine; done +# for machine in $(docker-machine ls -q); do docker-machine stop $machine; done for container in $(docker ps -a -q); do docker stop $container; done +docker system prune -f echo "* Stop running services..." brew services stop --all