Slash commands and subagents for managing Docker containers, Compose stacks, volumes, networks, and multi-environment deployments.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin docker-managerBackup Docker volumes and container data to a local directory or remote storage.
Analyze unused Docker resources and guide the user through safe cleanup options.
Deploy a new Docker Compose stack or manage an existing one.
View and analyze logs for a Docker container.
Probe the local Docker environment and generate initial context files for the workspace.
Perform a comprehensive health check of all Docker containers and resources.
Refresh workspace context files with the current Docker environment state.
Generate production-ready Docker Compose files for common services and multi-service stacks.
Diagnose issues with Docker containers including crashes, restarts, and connectivity problems.
Plan and execute Docker container migrations between environments with minimal downtime.
Analyze Docker resource usage (CPU, memory, storage) and produce actionable optimization recommendations.
Audit a Docker environment for security misconfigurations and produce a prioritised remediation report.
A Claude Code plugin providing slash commands and subagents for managing Docker containers, Compose stacks, volumes, networks, and multi-environment deployments.
This plugin turns Claude Code into a capable Docker administration assistant. It ships slash commands for day-to-day operations and specialized subagents for deeper analysis tasks. A context directory pattern lets Claude maintain an up-to-date picture of your Docker environments across sessions.
| Command | Description |
|---|---|
/setup | Probe the local system, run a guided intake interview, and generate initial context files |
/status | Comprehensive health check — containers, resource usage, disk, recent events |
/cleanup | Analyze unused resources and guide through safe removal options |
/logs [container] | View and analyze logs for a specific container |
/deploy | Deploy a new Compose stack or manage an existing one |
/backup | Backup Docker volumes to a local directory or remote destination |
/update-context | Refresh context files to reflect the current environment state |
| Agent | Use case |
|---|---|
container-diagnostics | Debug crashes, restart loops, and connectivity failures |
compose-generator | Generate production-ready Compose files with supporting docs |
security-audit | Audit for security misconfigurations with a prioritised report |
migration-planner | Plan and execute container migrations between environments |
resource-optimizer | Analyse CPU, memory, and storage usage and recommend optimisations |
claude plugin install danielrosehill/docker-manager-plugin
Or add to your project's .claude/plugin.json manifest.
/setup — Claude will probe your system, ask a few configuration questions, and write initial context files./status to verify everything looks healthy.After running /setup, a context/ directory holds environment profiles, network topology notes, volume inventory, and backup logs. Keep this up to date with /update-context after significant changes. The .gitignore excludes context/ by default since it may contain host-specific data; override this if you want to version-control it.
The workspace can manage multiple Docker environments:
context/environments/{hostname}.md..env files containing real secrets.security-audit agent output periodically.MIT License. See LICENSE.
Comprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
Semantic search for Claude Code conversations. Remember past discussions, decisions, and patterns.