aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases-pnf-sw-upgrade/pnf-sw-upgrade/teardown.sh
blob: 7257b36696732144409aa35aa081d0d747c289a5 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo 'Stop, Removing all running containers...'
docker stop $(docker ps -aq) && docker rm $(docker ps -aq)

echo 'Removing Volumes...'
echo y | docker volume prune

echo 'Removing Networks...'
echo y | docker network prune