MCPcopy Create free account
hub / github.com/Coooolfan/onlyboxes / has_docker_compose

Function has_docker_compose

scripts/install.py:254–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252
253
254def has_docker_compose() -> bool:
255 result = run_cmd(["docker", "compose", "version"], check=False)
256 return result.returncode == 0
257
258
259def has_systemd() -> bool:

Callers 1

detect_environmentFunction · 0.85

Calls 1

run_cmdFunction · 0.85

Tested by

no test coverage detected