Skip to content

Instantly share code, notes, and snippets.

@yunus89
yunus89 / docker_kill.sh
Created March 14, 2018 13:30 — forked from evanscottgray/docker_kill.sh
kill all docker containers at once...
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt