ofershap/mcp-server-docker/docker-management

Claude Code and agent skill by ofershap/mcp-server-docker

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Manage Docker containers and images via MCP. Use when the user asks to docker ps, tail container logs, restart a service, exec into a container, check CPU/memory stats, or clean up images on the local host.

Install

npx vskill@latest install ofershap/mcp-server-docker/docker-management

SKILL.md

Docker Management via MCP

Use this skill when you need to manage Docker containers, inspect logs, run commands inside containers, or check resource usage.

Available Tools

ToolWhat it does
list_containersList running (or all) containers with status, ports, image
container_logsGet recent logs from a container
start_containerStart a stopped container
stop_containerStop a running container
restart_containerRestart a container
remove_containerRemove a container (optional force)
exec_commandExecute a command inside a running container
container_statsGet live CPU, memory, and network stats
list_imagesList all Docker images on the host
remove_imageRemove a Docker image

Workflow

  1. Start with list_containers to see what's running
  2. Use container names or IDs from the list for all other operations
  3. For debugging: container_logs first, then exec_command to investigate
  4. Use container_stats to check resource usage when diagnosing performance issues

Key Patterns

  • list_containers shows only running containers by default; pass all: true for stopped ones too
  • container_logs returns the last N lines; pass tail to control how many
  • exec_command runs inside a running container; the container must be started first
  • remove_container with force: true stops and removes in one step

Error Scenarios

  • Cannot connect to Docker: Docker Desktop/daemon not running or MCP lacks socket permissions
  • Container not found: run list_containers with all: true for stopped IDs/names
  • exec_command fails: container must be running; shell may not exist in minimal images
  • Empty logs: container just started or logging driver differs; increase tail or check app stdout

Safety

  • Always confirm before stopping or removing containers
  • Never remove containers in production without explicit user approval
  • Check container_stats before restarting to understand if the issue is resource-related

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ofershap/mcp-server-docker/docker-management/badge)](https://verified-skill.com/skills/ofershap/mcp-server-docker/docker-management)

Something wrong with this skill or its page? Tell us.