diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-02-05 08:59:10 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-02-05 08:59:10 +0000 |
commit | a221ffe6144eb0f372521fbbc828b8a225af12cd (patch) | |
tree | 09ec6fc8f88f54f26b8d6a0cdcd78130d166d68d /resources/tools/scripts/topo_cleanup.py | |
parent | 1c108d51c08631548dc2b2ba1b7652e0b577d82c (diff) |
FIX: Cleanup docker images per job
Change-Id: Ib14d989d5f44a2aeeec122e2f63a9832a213f920
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/scripts/topo_cleanup.py')
-rwxr-xr-x | resources/tools/scripts/topo_cleanup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/scripts/topo_cleanup.py b/resources/tools/scripts/topo_cleanup.py index c708a5d4b6..51a7dcead5 100755 --- a/resources/tools/scripts/topo_cleanup.py +++ b/resources/tools/scripts/topo_cleanup.py @@ -107,7 +107,7 @@ def main(): sudo=True) # Kill all containers. - execute_command_ssh(ssh, 'docker rm $(sudo docker ps -a -q)', + execute_command_ssh(ssh, 'docker rm --force $(sudo docker ps -q)', sudo=True) # Destroy kubernetes. |