MCPcopy
hub / github.com/Dokploy/dokploy / validateSwarm

Function validateSwarm

packages/server/src/setup/server-validate.ts:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18`;
19
20export const validateSwarm = () => `
21 if docker info --format '{{.Swarm.LocalNodeState}}' | grep -q 'active'; then
22 echo true
23 else
24 echo false
25 fi
26`;
27
28export const validateNixpacks = () => `
29 if command_exists nixpacks; then

Callers 1

serverValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected