My Favourites
https://coderwall.com/p/ewk0mq/stop-remove-all-docker-containers
Stop / remove all Docker containers
LXC DOCKER
One liner to stop / remove all of Docker containers:
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
https://coderwall.com/p/h-qnwa/kill-all-running-vagrant-vms
Kill all running Vagrant VMs
TAGS COMMA SEPARATED
In case you want to indiscriminately destroy all of the running Vagrant VMs on your machine, you can run the following:
for i in vagrant global-status | grep virtualbox | awk '{ print $1 }'
; do vagrant destroy $i ; done
Written by mauz0r
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#mauz0r
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#