mirror of
https://github.com/didyouexpectthat/zerotierone.git
synced 2024-11-09 09:40:10 -08:00
10 lines
297 B
Bash
Executable File
10 lines
297 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 -x '-t -t' -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 0 -p 256 "sudo docker ps -aq | xargs -r sudo docker rm -f"
|
|
|
|
exit 0
|