docker-management
Manage and debug Docker containers, images, volumes, networks, Compose stacks, and Dockerfile performance/safety.
от metaspartan★ 41 звезда на GitHub
Установить docker-management в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Docker Management
Use this for container lifecycle operations, Compose stacks, image builds, logs, disk cleanup, and Dockerfile review.
First Checks
docker --version
docker compose version
docker info
If Docker is not running, stop and report that instead of guessing.
Common Tasks
| Task | Command |
|---|---|
| Running containers | docker ps |
| All containers | docker ps -a |
| Logs | docker logs --tail 100 <name> |
| Follow logs | docker logs --tail 100 -f <name> |
| Shell | docker exec -it <name> /bin/sh |
| Inspect | docker inspect <name> |
| Stats | docker stats --no-stream |
| Compose status | docker compose ps |
| Compose logs | docker compose logs --tail 100 |
| Disk usage | docker system df |
Debugging Flow
- Identify the failing container or service.
- Check status and exit code with
docker ps -aordocker compose ps. - Read logs from the failing service only.
- Inspect env, mounts, ports, healthcheck, restart policy, and network.
- Reproduce with the smallest command or Compose service.
- Fix the image/config and rebuild.
Dockerfile Review
Check for:
- Pinned base image and runtime versions.
- Multi-stage builds for compiled/bundled apps.
- No secrets in
ARG,ENV, layers, or copied files. - Non-root runtime user.
- Small runtime image and explicit healthcheck where useful.
- Dependency install before source copy when caching matters.
Cleanup Safety
Never run destructive cleanup without checking impact:
docker system df
docker image prune
docker container prune
Ask before docker system prune -a --volumes; it can remove data and rebuild caches.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл docker-management?
Manage and debug Docker containers, images, volumes, networks, Compose stacks, and Dockerfile performance/safety.
Как установить скилл docker-management?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docker-management запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…