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

Function validateDocker

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

Source from the content-addressed store, hash-verified

2import { findServerById } from "../services/server";
3
4export const validateDocker = () => `
5 if command_exists docker; then
6 echo "$(docker --version | awk '{print $3}' | sed 's/,//') true"
7 else
8 echo "0.0.0 false"
9 fi
10`;
11
12export const validateRClone = () => `
13 if command_exists rclone; then

Callers 1

serverValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected