← 返回 Skills 市场
1147
总下载
0
收藏
10
当前安装
4
版本数
在 OpenClaw 中安装
/install docker-manager
功能描述
Docker 容器管理。查看、启动、停止、删除容器,监控资源使用,查看日志。适合运维和开发。
使用说明 (SKILL.md)
Docker Manager 🐳
Docker 容器管理工具,查看、启动、停止、删除容器,监控资源,查看日志。
功能
- 📋 列出容器(运行中/全部)
- ▶️ 启动/停止/重启容器
- 📊 容器资源监控(CPU/内存/网络)
- 📝 查看容器日志
- 🗑️ 删除容器/镜像
- 🔍 容器详情查询
- 📦 镜像管理
使用方法
列出容器
python3 scripts/docker_mgr.py ps
python3 scripts/docker_mgr.py ps --all
启动/停止/重启
python3 scripts/docker_mgr.py start nginx
python3 scripts/docker_mgr.py stop nginx
python3 scripts/docker_mgr.py restart nginx
查看资源监控
python3 scripts/docker_mgr.py stats
python3 scripts/docker_mgr.py stats nginx
查看日志
python3 scripts/docker_mgr.py logs nginx
python3 scripts/docker_mgr.py logs nginx --tail 100
python3 scripts/docker_mgr.py logs nginx --follow
容器详情
python3 scripts/docker_mgr.py inspect nginx
镜像列表
python3 scripts/docker_mgr.py images
删除容器/镜像
python3 scripts/docker_mgr.py rm nginx
python3 scripts/docker_mgr.py rmi nginx:latest
示例
# 查看所有容器(包括停止的)
python3 scripts/docker_mgr.py ps --all
# 查看运行中容器的资源使用
python3 scripts/docker_mgr.py stats
# 查看特定容器的最近50行日志
python3 scripts/docker_mgr.py logs mycontainer --tail 50
# 批量停止所有运行中的容器
python3 scripts/docker_mgr.py stop $(docker ps -q)
# 删除已停止的容器
python3 scripts/docker_mgr.py prune
常用 Docker 命令速查
| 操作 | 命令 |
|---|---|
| 列出容器 | docker ps -a |
| 启动容器 | docker start \x3Cname> |
| 停止容器 | docker stop \x3Cname> |
| 查看日志 | docker logs -f \x3Cname> |
| 进入容器 | docker exec -it \x3Cname> bash |
| 查看资源 | docker stats |
安全使用建议
This skill appears to do what it says: it runs local docker commands via the included Python script. Before installing or running it, verify you trust the skill source because it will invoke docker on your machine (start/stop/remove containers, exec inside containers). Access to the Docker engine can be used to escalate to the host — only run this in environments where you control or trust the containers and the agent. Note the minor metadata inconsistency (requirements omitted in one place but present in _meta.json). If you want extra safety, review the provided scripts locally or run the skill in an isolated sandbox/VM that has docker installed.
功能分析
Type: OpenClaw Skill
Name: docker-manager
Version: 1.0.2
The skill bundle is a legitimate Docker management utility that provides a Python wrapper for common Docker CLI operations such as listing, starting, stopping, and inspecting containers. The script `scripts/docker_mgr.py` uses the `subprocess` module safely by passing arguments as lists, which prevents shell injection. The functionality described in `SKILL.md` is entirely consistent with the code's implementation, and there are no indicators of malicious intent, data exfiltration, or unauthorized access.
能力评估
Purpose & Capability
The name, description, SKILL.md, and the included script all align: this is a local Docker CLI helper. Minor inconsistency: the registry-level Requirements block earlier reported 'none', but _meta.json declares required binaries ['python3','docker']. The script clearly needs python3 and docker available.
Instruction Scope
Runtime instructions and examples only call the included Python script or standard docker commands (ps, start, stop, stats, logs, inspect, images, rm, rmi, prune, exec). They do not attempt to read unrelated files, contact external endpoints, or access secrets.
Install Mechanism
No external install/download steps are present (instruction-only plus an included script). There are no network downloads or archive extraction steps in the package.
Credentials
The skill requests no environment variables or credentials, which is appropriate. Important caveat: executing docker CLI commands requires access to the Docker engine (e.g., the docker socket). That access effectively grants high privileges on the host, so the skill's operational power (start/stop/exec/delete containers) is significant even without explicit credentials.
Persistence & Privilege
The skill does not set always:true, does not request persistent system-wide changes, and does not modify other skills' configurations. Autonomous invocation is allowed (default) but not combined with other high-risk requests.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install docker-manager - 安装完成后,直接呼叫该 Skill 的名称或使用
/docker-manager触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Version bump from 1.0.0 to 1.0.2 with no file changes.
- No updates or modifications in functionality or documentation.
v2.0.0
Version 2.0.0
- No file changes detected compared to the previous version.
v1.0.1
No changes detected in this version.
- Version bumped to 1.0.1, but no file or documentation modifications found.
v1.0.0
Initial release of docker-manager.
- 支持列出、启动、停止、重启、删除Docker容器
- 提供容器资源使用监控(CPU/内存/网络)
- 支持查看容器日志,包括tail和follow模式
- 支持镜像查询、管理与删除
- 提供容器详情inspect功能
- 附带命令行使用示例和常见Docker命令速查表
元数据
常见问题
Docker Manager 是什么?
Docker 容器管理。查看、启动、停止、删除容器,监控资源使用,查看日志。适合运维和开发。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1147 次。
如何安装 Docker Manager?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install docker-manager」即可一键安装,无需额外配置。
Docker Manager 是免费的吗?
是的,Docker Manager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Docker Manager 支持哪些平台?
Docker Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Docker Manager?
由 SxLiuYu(@sxliuyu)开发并维护,当前版本 v1.0.2。
推荐 Skills