github.com/pokt-network/tendermint@v0.32.11-0.20230426215212-59310158d3e9/test/p2p/local_testnet_stop.sh (about)

     1  #! /bin/bash
     2  set -u
     3  
     4  NETWORK_NAME=$1
     5  N=$2
     6  
     7  for i in $(seq 1 "$N"); do
     8    docker stop "local_testnet_$i"
     9    docker rm -vf "local_testnet_$i"
    10  done
    11  
    12  docker network rm "$NETWORK_NAME"