Skip to content
docker-management logo

Docker Management Skill

docker-management

Docker container and image management including logs, stats, and compose operations. Use when managing Docker containers, debugging container issues, or working with Docker Compose.

SKILL.md

Full skill instructions

Docker Management Skill

Version: 1.0.0 Purpose: Docker container and compose management


Triggers

TriggerExamples
Containers"list containers", "docker ps", "コンテナ一覧"
Logs"container logs", "docker logs", "ログ確認"
Debug"debug container", "container issue", "デバッグ"
Compose"compose up", "compose status", "Compose起動"

Integrated MCP Tools

Container Operations

ToolPurpose
docker_psList containers (running/​all)
docker_imagesList local images
docker_logsContainer logs (tail, follow)
docker_inspectContainer details (JSON)
docker_statsResource usage (CPU, memory)
docker_execExecute command in container
docker_startStart stopped container
docker_stopStop running container
docker_restartRestart container
docker_rmRemove container

Compose Operations

ToolPurpose
compose_psCompose project status
compose_logsService logs
compose_upStart services
compose_downStop and remove services

Workflow: Container Debugging

Phase 1: Assessment

Step 1.1: List Containers
Use docker_ps with:
- all: true (include stopped)
Step 1.2: Check Status

Look for:

  • Exit codes
  • Restart counts
  • Health status

Phase 2: Investigation

Step 2.1: View Logs
Use docker_logs with:
- container: Container name/​ID
- tail: 100 (last N lines)
- timestamps: true
Step 2.2: Inspect Configuration
Use docker_inspect to check:
- Environment variables
- Mount points
- Network settings
- Health check config
Step 2.3: Resource Usage
Use docker_stats to monitor:
- CPU percentage
- Memory usage
- Network I/​O
- Block I/​O

Phase 3: Resolution

Step 3.1: Restart Container
Use docker_restart for temporary fix
Step 3.2: Execute Commands
Use docker_exec to run diagnostics inside container:
- command: "sh -c 'ps aux'"
- command: "cat /​var/​log/​app.log"

Workflow: Docker Compose

Step 1: Check Status

Use compose_ps to see all services

Step 2: View Logs

Use compose_logs with:
- service: Specific service name
- tail: 50

Step 3: Service Management

Use compose_up to start services
Use compose_down to stop and clean up

Common Issues

SymptomToolAction
Container exitsdocker_logsCheck error messages
High memorydocker_statsIdentify memory leak
Network issuesdocker_inspectVerify network config
Mount failuresdocker_inspectCheck volume mounts

Best Practices

✅ GOOD:

  • Check logs before restarting
  • Use health checks
  • Set resource limits
  • Use named volumes

❌ BAD:

  • Restart without investigation
  • Run as root unnecessarily
  • Store secrets in images
  • Use latest tag in production

Checklist

  • Docker daemon running
  • Container status checked
  • Logs reviewed
  • Resource usage normal
  • Network connectivity OK

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View