MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / docker_ready

Function docker_ready

start_webui.py:97–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96
97def docker_ready() -> bool:
98 result = subprocess.run(
99 ["docker", "info"],
100 cwd=PROJECT_ROOT,
101 text=True,
102 capture_output=True,
103 )
104 return result.returncode == 0
105
106
107def ensure_docker_cli() -> None:

Callers 1

ensure_docker_daemonFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected