prune docker
This commit is contained in:
parent
0e858a3385
commit
8e27b2fbd2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user