mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 18:48:36 -07:00
test stuff.
This commit is contained in:
parent
29249db5d2
commit
e53ef9642e
9 changed files with 193 additions and 25 deletions
|
@ -13,18 +13,6 @@ CONTAINER_IMAGE=zerotier/http-test
|
|||
|
||||
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
|
||||
|
||||
# Kill and clean up old test containers if any -- note that this kills all containers on the system!
|
||||
#docker ps -q | xargs -n 1 docker kill
|
||||
#docker ps -aq | xargs -n 1 docker rm
|
||||
|
||||
# Pull latest if needed -- change this to your image name and/or where to pull it from
|
||||
#docker pull $CONTAINER_IMAGE
|
||||
|
||||
# Run NUM_CONTAINERS
|
||||
#for ((n=0;n<$NUM_CONTAINERS;n++)); do
|
||||
# docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE
|
||||
#done
|
||||
|
||||
pssh -h big-test-hosts -i -p 256 "docker ps -q | xargs -r -n 128 docker kill && docker ps -aq | xargs -r -P 16 -n 1 docker rm"
|
||||
pssh -h big-test-hosts -i -t 128 -p 256 "docker ps -q | xargs -r docker kill && docker ps -aq | xargs -r docker rm"
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue