blob: 1ef04e22270571b78e1eedfdc83a6c28e1b9c709 [file] [log] [blame]
Thomas Vachuskac419f0e2018-02-07 14:24:46 -08001#!/bin/bash
Thomas Vachuskac419f0e2018-02-07 14:24:46 -08002
Thomas Vachuska61f0e0b2018-05-15 14:08:11 -07003# Destroys ONOS cluster running as ONOS docker images
Thomas Vachuskac419f0e2018-02-07 14:24:46 -08004SSH_KEY=$(cut -d\ -f2 ~/.ssh/id_rsa.pub)
5
6for i in {1..3}; do
7 echo "Destroying onos-$i..."
8 docker stop onos-$i
9done
10
11docker container prune --force