Docker Control
Đã xác minhManage containers, logs, and deployments via chat. Seamlessly interface with Docker daemon to scale, restart, and inspect your infrastructure through natural language.
Cài đặt
$ claw install docker-control Cấu hình
Cấu hình biến môi trường trong file .env hoặc manifest skill.
| VARIABLE | DESCRIPTION | DEFAULT |
|---|---|---|
| DOCKER_HOST | Docker daemon socket path | unix:///var/run/docker.sock |
| AUTO_RESTART | Enable auto-restart on crash | false |
Cách dùng
// Execution logic triggered
check_circle Container 'web-server-01' restarted.
info Fetching logs...
[2024-10-12 14:02:12] debug: Connection established with db...
Manifest skill (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"
} Đánh giá
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.
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.
Documentation on the socket path could be clearer for macOS users using Docker Desktop, but the skill itself is bulletproof once it's connected.