docker-management

docker-management is a skill for Claude Code, Codex from ofershap/mcp-server-docker. It costs 48 tokens per session (535 once invoked), scanned A, original, MIT.

A set of MCP tools for managing Docker containers and images on a local host. Docker packages applications and their dependencies into isolated units called containers.

In plain words
What is it for?
Use it to list, start, stop, restart, inspect, or remove containers and images, read logs, run commands inside containers, and check CPU or memory usage.
Why use it?
It centralizes common container tasks and provides a troubleshooting sequence for checking running services, logs, commands, and resource use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list, start, stop, restart, inspect, or remove containers and images, read logs, run commands inside containers, and check CPU or memory usage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ofershap/mcp-server-docker/docker-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ofershap/mcp-server-docker --skill docker-management
Clone the repo
git clone --depth 1 https://github.com/ofershap/mcp-server-docker

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docker-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/ofershap/mcp-server-docker/docker-management/github.svg)](https://agentmods.dev/skills/ofershap/mcp-server-docker/docker-management)
Your own site
<a href="https://agentmods.dev/skills/ofershap/mcp-server-docker/docker-management"><img src="https://agentmods.dev/badge/skills/ofershap/mcp-server-docker/docker-management/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/ofershap/mcp-server-docker/docker-management"><img src="https://agentmods.dev/badge/skills/ofershap/mcp-server-docker/docker-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 535 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00535
Opus 5.5 $0.00019 $0.00214
Sonnet 5.5 $0.00010 $0.00107
Haiku 4.5 $0.00005 $0.00053

Measured 1mo ago against content hash 38a090cfaa67, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docker-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/docker-management/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Tool What it does
list_containers List running (or all) containers with status, ports, image
container_logs Get recent logs from a container
start_container Start a stopped container
stop_container Stop a running container
restart_container Restart a container
remove_container Remove a container (optional force)
exec_command Execute a command inside a running container
container_stats Get live CPU, memory, and network stats
list_images List all Docker images on the host
remove_image Remove 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

Read the full file on GitHub · 51 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 51 lines · 48 tokens per session scan A 38a090cfaa67

Subscribe to this mod's changes

docker-management is a skill published in the GitHub repository ofershap/mcp-server-docker (3 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 535 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

release-ota-promote

Publish signed Electron UI/daemon bundles to a local OTA feed with atomic manifest switch and digest readback, while dry-running the K8s drainrespawn rollout. Prod is refused before writes; feed publication is not client apply.

Prismer-AI/PrismerCloud · 52 tokens

performing-container-image-hardening

This skill covers hardening container images by minimizing attack surface, removing unnecessary packages, implementing multi-stage builds, configuring non-root users, and applying CIS Docker Benchmark recommendations to produce secure production-ready images.

adriannoes/awesome-agentic-ai · 46 tokens

Docker Compose Generator

Generates production-ready docker-compose.yml files for any application stack.

Notysoty/openagentskills · 17 tokens

code-engine-deploy

IBM Code Engine deployment skill. Use when deploying, managing, or troubleshooting IBM Code Engine applications, jobs, secrets, config maps, domain mappings, container builds, or ICR images. Use for: deploy to code engine, code engine app, code engine job, build container image, push image, ICR registry, MCP tools…

markusvankempen/code-engine-mcp-server · 88 tokens

Docker Container Testing

Testing Docker containers and images including Dockerfile linting, container structure tests, security scanning, and multi-stage build validation.

PramodDutta/qaskills · 28 tokens

council-creator

Expert-council meeting protocol. Given a Brief + a persona cast (from persona-generator), propose the council to the Team Manager, and once convened FACILITATE it: each round post a NEW group message that @-mentions the persona-agents by their ASCII usernameSlug, collect their independent replies, stage-summarize…

Prismer-AI/PrismerCloud · 142 tokens