Install
openclaw skills install openclaw-dockerManage Docker containers and Compose projects via OpenClaw tools
openclaw skills install openclaw-dockerOpenClaw plugin for Docker container operations and Docker Compose project control.
docker compose CLIreadOnly and allowedOperationsdocker command) available in PATH (required for Compose operations)/var/run/docker.sock) or a remote Docker daemon via TCPnpm install @elvatis_com/openclaw-docker
readOnly: true if you only need observation (ps, logs, inspect). This limits the blast radius.docker compose commands in whichever directories you configure as composeProjects. Only configure trusted project paths.{
"plugins": {
"openclaw-docker": {
"socketPath": "/var/run/docker.sock",
"readOnly": false,
"allowedOperations": ["ps", "logs", "inspect", "start", "stop", "restart", "compose_up", "compose_down", "compose_ps"],
"composeProjects": [
{ "name": "aegis", "path": "/opt/aegis" }
],
"timeoutMs": 15000
}
}
}
{
"plugins": {
"openclaw-docker": {
"host": "10.0.0.20",
"port": 2376,
"tls": {
"caPath": "/etc/openclaw/docker/ca.pem",
"certPath": "/etc/openclaw/docker/cert.pem",
"keyPath": "/etc/openclaw/docker/key.pem",
"rejectUnauthorized": true
},
"readOnly": true,
"composeProjects": []
}
}
}
docker_psdocker_logsdocker_inspectdocker_startdocker_stopdocker_restartdocker_compose_updocker_compose_downdocker_compose_psreadOnly: true allows only ps, logs, inspect, and compose_psallowedOperations limits which tools can be executedcomposeProjectstimeoutMsnpm install
npm run build
npm test
MIT