ZeroTierOne/tests/http/big-test-kill.sh
Adam Ierymenko a95ff21aaf test stuff
2015-11-04 15:09:19 -08:00

10 lines
286 B
Bash
Executable File

#!/bin/bash
# Kills all running Docker containers on all big-test-hosts
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
pssh -h big-test-hosts -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 0 -p 256 "sudo docker ps -aq | xargs -r sudo docker rm -f"
exit 0