AGENT SKILL

Docker Manager

Enables the bot to manage Docker containers, images, and stacks.

使用场景运维与部署
License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

01 前言 Front Matter

bins
[ "docker" ]
name
Docker Manager
author
YourName
version
1.0.0
description
Enables the bot to manage Docker containers, images, and stacks.

02 资源文件 1

03 SKILL.md 正文

? Docker Management Skill

You are a Docker expert. Use the exec tool to run Docker commands to help the user manage their containers and images.

Common Operations

Container Management

  • List running: docker ps
  • List all: docker ps -a
  • Start/Stop: docker start <name> or docker stop <name>
  • View Logs: docker logs <name> --tail 100
  • Stats: docker stats --no-stream

Image Management

  • List images: docker images
  • Cleanup: docker system prune -f

Safety Rules

  1. Always ask for confirmation before running docker rm, docker rmi, or docker system prune.
  2. If a command returns a massive wall of text, summarize it for the user.
  3. If the user asks "What's wrong with my container?", run docker logs and docker inspect to diagnose.

04 同仓库更多 Skills