mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Merge pull request #51969 from ClickHouse/docker-network-prune
Fix Docker
This commit is contained in:
commit
508a9c1800
@ -42,6 +42,13 @@ def cleanup_environment():
|
||||
logging.debug(f"Docker ps before start:{r.stdout}")
|
||||
else:
|
||||
logging.debug(f"No running containers")
|
||||
|
||||
logging.debug("Pruning Docker networks")
|
||||
run_and_check(
|
||||
["docker network prune"],
|
||||
shell=True,
|
||||
nothrow=True,
|
||||
)
|
||||
except Exception as e:
|
||||
logging.exception(f"cleanup_environment:{str(e)}")
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user