Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coldbrewcloud/coldbrew-cli
/ DockerBinAvailable
Method
DockerBinAvailable
docker/client.go:22–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
}
21
22
func
(c *Client) DockerBinAvailable() bool {
23
_, _, _, err := exec.Exec(c.dockerBin,
"version"
)
24
return
err == nil
25
}
26
27
func
(c *Client) PrintVersion() error {
28
return
c.exec(c.dockerBin,
"--version"
)
Callers
1
Run
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected