MCPcopy Index your code
hub / github.com/Dokploy/dokploy / dockerSwarmInitialized

Function dockerSwarmInitialized

packages/server/src/setup/setup.ts:16–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14};
15
16export const dockerSwarmInitialized = async () => {
17 try {
18 await docker.swarmInspect();
19
20 return true;
21 } catch {
22 return false;
23 }
24};
25
26export const initializeNetwork = async () => {
27 const networkInitialized = await dockerNetworkInitialized();

Callers 1

initializeSwarmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected