Prune containers to avoid conflict.

This commit is contained in:
Nicolas Patry 2024-06-05 16:18:35 +02:00
parent efde2563d1
commit 9626f8c743

View File

@ -436,6 +436,7 @@ def launcher(event_loop):
container = client.containers.get(container_name)
container.stop()
container.wait()
client.containers.prune()
except NotFound:
pass
@ -488,6 +489,7 @@ def launcher(event_loop):
try:
container.stop()
container.wait()
client.containers.prune()
except NotFound:
pass