From 469ca5b1b873e7db2649a7a3d9e2aedb992180a4 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Tue, 5 Feb 2019 08:59:10 +0000 Subject: FIX: Cleanup docker images per job Change-Id: Ib14d989d5f44a2aeeec122e2f63a9832a213f920 Signed-off-by: Peter Mikus (cherry picked from commit a221ffe6144eb0f372521fbbc828b8a225af12cd) --- resources/tools/scripts/topo_cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit 1.2.3-korg