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