← 返回 Skills 市场
ppopen

Docker Manager

作者 pp · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
438
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-skill-docker-manager
功能描述
Docker container lifecycle management. Use when: user asks to list containers, start/stop containers, view logs, check stats, prune unused containers or imag...
使用说明 (SKILL.md)

Docker Manager Skill

Manage Docker containers, images, and system resources.

Triggers

  • "docker containers", "list containers"
  • "start container", "stop container"
  • "docker logs", "container logs"
  • "docker stats", "container stats"
  • "docker prune", "cleanup containers"
  • "docker images", "list images"

Commands

List Running Containers

docker ps

List All Containers (including stopped)

docker ps -a

Start a Container

docker start \x3Ccontainer_id_or_name>

Stop a Container

docker stop \x3Ccontainer_id_or_name>

Restart a Container

docker restart \x3Ccontainer_id_or_name>

View Container Logs

# Tail last 100 lines
docker logs --tail 100 \x3Ccontainer_id_or_name>

# Follow logs in real-time
docker logs -f \x3Ccontainer_id_or_name>

Container Stats (CPU, Memory, Network)

# Stream stats for all running containers
docker stats

# Stats for specific container
docker stats \x3Ccontainer_id_or_name>

# Non-streaming (one-time)
docker stats --no-stream \x3Ccontainer_id_or_name>

List Docker Images

docker images

Prune Unused Containers

# Remove all stopped containers
docker container prune -f

Prune Unused Images

# Remove dangling images
docker image prune -f

# Remove all unused images
docker image prune -a -f

Docker System DF (Disk Usage)

docker system df

Bundled Scripts

docker-stats.sh

Script for formatted container stats output.

#!/bin/bash
# Docker container stats with formatted output

echo "Container Stats"
echo "==============="
docker stats --no-stream --format "table {{.Name}}	{{.CPUPerc}}	{{.MemUsage}}	{{.NetIO}}	{{.BlockIO}}"

Usage Examples

Intent Command
List running containers docker ps
List all containers docker ps -a
Start nginx container docker start nginx
Stop nginx container docker stop nginx
View webapp logs docker logs --tail 50 webapp
Monitor stats docker stats
List images docker images
Cleanup unused containers docker container prune -f
Cleanup unused images docker image prune -a -f
Check disk usage docker system df
安全使用建议
This skill is internally consistent and appears to do what it says: it runs docker CLI commands and includes a small formatting script. Before enabling, consider that the agent (if allowed autonomous invocation) can stop containers and run prune commands which can remove images/data. If you want to limit risk: (1) restrict autonomous invocation or require explicit user confirmation for destructive intents; (2) run the agent with least-privilege Docker access (e.g., a dedicated Docker user/host or restricted socket); and (3) review any outputs before letting the agent execute prune/remove operations.
功能分析
Type: OpenClaw Skill Name: openclaw-skill-docker-manager Version: 1.0.0 The docker-manager skill is a standard utility for managing Docker containers and images. It provides basic commands for listing, starting, stopping, and pruning Docker resources, as well as a simple formatting script (scripts/docker-stats.sh). No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description and required binaries (docker) align with the included commands and bundled script. All required capabilities (ps, start/stop, logs, stats, prune, images, system df) are coherent with the stated purpose.
Instruction Scope
SKILL.md contains explicit docker CLI commands and examples; instructions operate only on Docker resources and do not attempt to read unrelated files, environment variables, or external endpoints.
Install Mechanism
No install spec; instruction-only skill with one small script. Nothing is downloaded or written during installation, minimizing supply-chain risk.
Credentials
No environment variables, credentials, or config paths requested. The skill relies solely on the local Docker CLI/daemon which is appropriate for the described functionality.
Persistence & Privilege
The skill is not always-enabled and requests no extra privileges. However, like any tool that can be invoked autonomously, it can perform destructive Docker operations (stop, restart, prune). This behavior is expected for a Docker manager but is operationally impactful if run without user confirmation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-skill-docker-manager
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-skill-docker-manager 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Skills Factory publish batch
元数据
Slug openclaw-skill-docker-manager
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Docker Manager 是什么?

Docker container lifecycle management. Use when: user asks to list containers, start/stop containers, view logs, check stats, prune unused containers or imag... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 438 次。

如何安装 Docker Manager?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-skill-docker-manager」即可一键安装,无需额外配置。

Docker Manager 是免费的吗?

是的,Docker Manager 完全免费(开源免费),可自由下载、安装和使用。

Docker Manager 支持哪些平台?

Docker Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Docker Manager?

由 pp(@ppopen)开发并维护,当前版本 v1.0.0。

💬 留言讨论