Thomas Vachuska | c419f0e | 2018-02-07 14:24:46 -0800 | [diff] [blame] | 1 | #!/bin/bash |
Thomas Vachuska | c419f0e | 2018-02-07 14:24:46 -0800 | [diff] [blame] | 2 | |
Thomas Vachuska | e7013e9 | 2018-09-12 01:18:43 -0700 | [diff] [blame^] | 3 | # Destroy the ONOS cluster running as docker images |
Thomas Vachuska | c419f0e | 2018-02-07 14:24:46 -0800 | [diff] [blame] | 4 | for i in {1..3}; do |
| 5 | echo "Destroying onos-$i..." |
| 6 | docker stop onos-$i |
| 7 | done |
| 8 | |
Thomas Vachuska | e7013e9 | 2018-09-12 01:18:43 -0700 | [diff] [blame^] | 9 | # Destroy Atomix cluster running as docker images |
| 10 | for i in {1..3}; do |
| 11 | echo "Destroying atomix-$i..." |
| 12 | docker stop atomix-$i |
| 13 | done |
| 14 | |
Thomas Vachuska | c419f0e | 2018-02-07 14:24:46 -0800 | [diff] [blame] | 15 | docker container prune --force |