blob: 53b359c0fb8156b9efd393ed07487b1672661bd2 [file] [log] [blame]
Thomas Vachuskac419f0e2018-02-07 14:24:46 -08001#!/bin/bash
Thomas Vachuskac419f0e2018-02-07 14:24:46 -08002
Thomas Vachuskae7013e92018-09-12 01:18:43 -07003# Destroy the ONOS cluster running as docker images
Thomas Vachuskac419f0e2018-02-07 14:24:46 -08004for i in {1..3}; do
5 echo "Destroying onos-$i..."
6 docker stop onos-$i
7done
8
Thomas Vachuskae7013e92018-09-12 01:18:43 -07009# Destroy Atomix cluster running as docker images
10for i in {1..3}; do
11 echo "Destroying atomix-$i..."
12 docker stop atomix-$i
13done
14
Thomas Vachuskac419f0e2018-02-07 14:24:46 -080015docker container prune --force