Fixing CSIT tests on Frankfurt
[integration/csit.git] / scripts / dcaegen2-collectors-datafile / dfc-containers-clean.sh
1 #!/bin/bash
2 # Kill dfc and all simulator
3
4 running_containers=$(docker ps --filter name=dfc_ -q)
5
6
7 if [ -z "$running_containers" ]
8 then
9     echo "No container requires termination"
10 else
11     echo "Stopping and removing containers"
12     docker stop $running_containers
13     docker rm $running_containers
14 fi
15