diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-02-05 08:59:10 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-02-05 09:06:13 +0000 |
commit | 469ca5b1b873e7db2649a7a3d9e2aedb992180a4 (patch) | |
tree | 2d5a87e9539b4bc5c0d063cb2110b1812d480e16 | |
parent | 09110dba36e5bef6d2702ff386434b34598e1e4b (diff) |
FIX: Cleanup docker images per job
Change-Id: Ib14d989d5f44a2aeeec122e2f63a9832a213f920
Signed-off-by: Peter Mikus <pmikus@cisco.com>
(cherry picked from commit a221ffe6144eb0f372521fbbc828b8a225af12cd)
-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. |