DevViking-Persike/dsh-docker ↗★ 0
dsh-docker
DSH 的 Docker 插件,为 Agent 提供容器、镜像、日志及 Compose 生命周期管理工具。
AI 分析
核心用途是赋予 DSH 代理操作本地 Docker 的能力。适合需要 Agent 自动部署、查看日志或管理 Docker Compose 容器服务的开发与运维任务。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DevViking-Persike/dsh-docker說明文件
閱讀完整 README ↗Configuration
Every field is optional.
| Field | Default | Meaning |
|---|---|---|
cli | docker | Executable name or absolute path. |
projectRoot | process cwd | Working directory for invocations, and the root relative compose paths resolve against. |
compose | false | Register the Compose lifecycle tools. |
inspectTimeoutMs | 30000 | Budget for one read (ps, images, logs). |
composeTimeoutMs | 600000 | Budget for one Compose call; pulling images and waiting on health checks routinely outlasts a read by an order of magnitude. |
maxOutputBytes | 2000000 | Cap on collected output of one invocation. |
maxLogChars | 40000 | Cap on characters docker_logs emits. |
defaultLogTail | 200 | Trailing lines read when a request states no tail. |
graceMs | 5000 | Termination grace handed to the subprocess seam. |