Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ isDockerAvailable
Function
isDockerAvailable
packages/trailbase-db-collection/e2e/global-setup.ts:19–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
function
isDockerAvailable(): boolean {
20
try {
21
execSync(
'docker --version'
, { stdio:
'pipe'
})
22
return
true
23
} catch {}
24
25
return
false
26
}
27
28
async
function
isTrailBaseRunning(url: string): Promise<boolean> {
29
try {
Callers
1
global-setup.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected