ZeroTierOne/tests/http/big-test-kill.sh

10 lines
286 B
Bash
Raw Normal View History

2015-10-30 20:05:34 +00:00
#!/bin/bash
2015-11-03 22:39:44 +00:00
# Kills all running Docker containers on all big-test-hosts
2015-10-30 20:05:34 +00:00
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
2015-11-04 23:09:19 +00:00
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"
2015-10-30 20:05:34 +00:00
exit 0