Browse Source

Change docker containers to shut down gracefully (#4740)

amichair 6 years ago
parent
commit
b875bd2712
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolset/utils/docker_helper.py

+ 1 - 1
toolset/utils/docker_helper.py

@@ -250,7 +250,7 @@ class DockerHelper:
     @staticmethod
     def __stop_container(container):
         try:
-            container.kill()
+            container.stop(timeout=2)
             time.sleep(2)
         except:
             # container has already been killed