Skip to content

Docker Manager

Verified

Docker Manager — devops & infrastructure tool.

52 downloads
$ Add to .claude/skills/

About This Skill

Content available in Chinese

# Docker Manager 🐳

Docker 容器管理工具,查看、启动、停止、删除容器,监控资源,查看日志。

功能

  • 📋 列出容器(运行中/全部)
  • ▶️ 启动/停止/重启容器
  • 📊 容器资源监控(CPU/内存/网络)
  • 📝 查看容器日志
  • 🗑️ 删除容器/镜像
  • 🔍 容器详情查询
  • 📦 镜像管理

使用方法

列出容器

```bash python3 scripts/docker_mgr.py ps python3 scripts/docker_mgr.py ps --all ```

启动/停止/重启

```bash python3 scripts/docker_mgr.py start nginx python3 scripts/docker_mgr.py stop nginx python3 scripts/docker_mgr.py restart nginx ```

查看资源监控

```bash python3 scripts/docker_mgr.py stats python3 scripts/docker_mgr.py stats nginx ```

查看日志

```bash python3 scripts/docker_mgr.py logs nginx python3 scripts/docker_mgr.py logs nginx --tail 100 python3 scripts/docker_mgr.py logs nginx --follow ```

容器详情

```bash python3 scripts/docker_mgr.py inspect nginx ```

镜像列表

```bash python3 scripts/docker_mgr.py images ```

删除容器/镜像

```bash python3 scripts/docker_mgr.py rm nginx python3 scripts/docker_mgr.py rmi nginx:latest ```

示例

```bash # 查看所有容器(包括停止的) 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 <name>` | | 停止容器 | `docker stop <name>` | | 查看日志 | `docker logs -f <name>` | | 进入容器 | `docker exec -it <name> bash` | | 查看资源 | `docker stats` |

Use Cases

  • List, start, stop, and restart Docker containers through a Python management tool
  • Monitor container CPU, memory, and network resource usage in real time
  • View and search container logs for debugging running services
  • Delete unused containers and images to reclaim system resources
  • Get detailed container information including configuration and network settings

Pros & Cons

Pros

  • +Python-based management tool with a clean command-line interface
  • +Resource monitoring provides real-time CPU, memory, and network stats
  • +Covers the full container lifecycle from inspection to cleanup

Cons

  • -Documentation primarily in Chinese
  • -Only available on claude-code and openclaw platforms
  • -Requires Python3 runtime — adds a dependency for what could be done with native Docker CLI

FAQ

What does Docker Manager do?
Docker Manager — devops & infrastructure tool.
What platforms support Docker Manager?
Docker Manager is available on Claude Code, OpenClaw.
What are the use cases for Docker Manager?
List, start, stop, and restart Docker containers through a Python management tool. Monitor container CPU, memory, and network resource usage in real time. View and search container logs for debugging running services.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.

Next Step

Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.