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

Function getServiceContainerCommand

packages/server/src/utils/backups/utils.ts:126–128  ·  view source on GitHub ↗
(appName: string)

Source from the content-addressed store, hash-verified

124};
125
126export const getServiceContainerCommand = (appName: string) => {
127 return `docker ps -q --filter "status=running" --filter "label=com.docker.swarm.service.name=${appName}" | head -n 1`;
128};
129
130export const getComposeContainerCommand = (
131 appName: string,

Callers 8

restoreLibsqlBackupFunction · 0.90
getComposeSearchCommandFunction · 0.90
mysql.tsFile · 0.90
mongo.tsFile · 0.90
redis.tsFile · 0.90
postgres.tsFile · 0.90
mariadb.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected