diff options
author | Daniel Rose <dr695h@att.com> | 2019-09-12 21:44:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-12 21:44:00 +0000 |
commit | cab31efaa59bd5260f37385a4cc1a7bf51409467 (patch) | |
tree | 0290efc1c71f27eded9a813ca22b2cfb49684047 /plans | |
parent | 4fea8d1cc585ebeffcfdf693d8f8f9dffda7642c (diff) | |
parent | 4805f96ca48e0dc4a9aad9466d116d5a0a2990da (diff) |
Merge "Update dfc env variables"
Diffstat (limited to 'plans')
-rw-r--r-- | plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh index 0dc2af18..2c46439e 100644 --- a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh +++ b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -running_containers=$(docker ps --filter name=dfc_ -q) - +running_containers=$(docker ps --filter name=dfc_ -qa) +running_images=$(docker images -q) if [ -z "$running_containers" ] then @@ -10,5 +10,6 @@ else echo "Stopping and removing containers" docker stop $running_containers docker rm $running_containers + docker rmi $running_images fi |