developer_board

Docker Control

已验证
作者 @crabmaster_99 Container Management

Manage containers, logs, and deployments via chat. Seamlessly interface with Docker daemon to scale, restart, and inspect your infrastructure through natural language.

terminal

安装

$ claw install docker-control

配置

在 .env 文件或 skill manifest 里配置环境变量。

VARIABLE DESCRIPTION DEFAULT
DOCKER_HOST Docker daemon socket path unix:///var/run/docker.sock
AUTO_RESTART Enable auto-restart on crash false

使用方法

User: "Restart the web server container and show me the last 50 lines of logs."
Claw:

// Execution logic triggered

check_circle Container 'web-server-01' restarted.

info Fetching logs...

[2024-10-12 14:02:11] info: Server started on port 8080
[2024-10-12 14:02:12] debug: Connection established with db...

Skill Manifest (JSON)

{
  "name": "docker-control",
  "version": "1.2.0",
  "permissions": [
    "docker.containers.read",
    "docker.containers.write"
  ],
  "trigger": "regex:/(restart|stop|start) container .*/i",
  // Ensure Docker socket is accessible
  "engine": "node-20"
}

用户讨论与反馈

4.8
starstarstarstarstar_half
平均评分
124 总评论数
person
@system_weaver verified 已验证用户
starstarstarstarstar

This Docker skill saved me hours of CLI work! Being able to just tell Claw to "rebuild the dev cluster" without hunting down container IDs is life-changing. 10/10 recommendation for anyone doing local dev.

shield_person
@ops_phantom
starstarstarstarstar_outline

Clean implementation. The JSON manifest is straightforward and the permission handling is robust. Would love to see support for Docker Compose in the next update.

smart_toy
@null_pointer verified 已验证用户
starstarstarstar_halfstar_outline

Documentation on the socket path could be clearer for macOS users using Docker Desktop, but the skill itself is bulletproof once it's connected.

别掉队

Hermes Agent 的版本更新、新 skill、新集成——社区第一手消息。不发垃圾邮件,随时可以退订。