← Back to Skills Marketplace
1147
Downloads
0
Stars
10
Active Installs
4
Versions
Install in OpenClaw
/install docker-manager
Description
Docker 容器管理。查看、启动、停止、删除容器,监控资源使用,查看日志。适合运维和开发。
README (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 |
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install docker-manager - After installation, invoke the skill by name or use
/docker-manager - Provide required inputs per the skill's parameter spec and get structured output
Version History
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命令速查表
Metadata
Frequently Asked Questions
What is Docker Manager?
Docker 容器管理。查看、启动、停止、删除容器,监控资源使用,查看日志。适合运维和开发。 It is an AI Agent Skill for Claude Code / OpenClaw, with 1147 downloads so far.
How do I install Docker Manager?
Run "/install docker-manager" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Docker Manager free?
Yes, Docker Manager is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Docker Manager support?
Docker Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Docker Manager?
It is built and maintained by SxLiuYu (@sxliuyu); the current version is v1.0.2.
More Skills