Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
254
def
has_docker_compose() -> bool:
255
result = run_cmd([
"docker"
,
"compose"
,
"version"
], check=False)
256
return
result.returncode == 0
257
258
259
def
has_systemd() -> bool:
Callers
1
detect_environment
Function · 0.85
Calls
1
run_cmd
Function · 0.85
Tested by
no test coverage detected