#! /bin/bash set -u NETWORK_NAME=$1N=$2 for i in `seq 1 $N`; do docker stop local_testnet_$i docker rm local_testnet_$idone docker network rm $NETWORK_NAME