shut down docker containers

(for docker for mac)
This commit is contained in:
James Walker 2016-07-21 09:58:20 -04:00
parent a1c33aca88
commit f18ea91d63

View File

@ -5,6 +5,7 @@ for box in $(vagrant global-status|grep running|awk '{ print $1 }'); do vagrant
# shutdown docker machines # shutdown docker machines
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
# kill tmux sessions # kill tmux sessions
tmux kill-server tmux kill-server