mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +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}")
|
logging.debug(f"Docker ps before start:{r.stdout}")
|
||||||
else:
|
else:
|
||||||
logging.debug(f"No running containers")
|
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:
|
except Exception as e:
|
||||||
logging.exception(f"cleanup_environment:{str(e)}")
|
logging.exception(f"cleanup_environment:{str(e)}")
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user