Browse Source

Prune more things (#3402)

Mike Smith 7 years ago
parent
commit
ee07cb7f35
1 changed files with 3 additions and 0 deletions
  1. 3 0
      toolset/utils/docker_helper.py

+ 3 - 0
toolset/utils/docker_helper.py

@@ -200,6 +200,9 @@ def stop(config, database_container_id, test, out):
         command.extend(['docker', 'stop', database_container_id])
         command.extend(['docker', 'stop', database_container_id])
         subprocess.check_call(command)
         subprocess.check_call(command)
     client.images.prune()
     client.images.prune()
+    client.containers.prune()
+    client.networks.prune()
+    client.volumes.prune()
 
 
 
 
 def find(path, pattern):
 def find(path, pattern):