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.
npx agentmods add skills/ofershap/mcp-server-docker/docker-managementnpx skills add ofershap/mcp-server-docker --skill docker-managementgit clone --depth 1 https://github.com/ofershap/mcp-server-dockerWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00048 | $0.00535 |
| Opus 5 | $0.00024 | $0.00267 |
| Sonnet 5 | $0.00010 | $0.00107 |
| Haiku 4.5 | $0.00005 | $0.00053 |
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 2d 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.
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
- Start with
list_containersto see what's running - Use container names or IDs from the list for all other operations
- For debugging:
container_logsfirst, thenexec_commandto investigate - Use
container_statsto check resource usage when diagnosing performance issues
Key Patterns
list_containersshows only running containers by default; passall: truefor stopped ones toocontainer_logsreturns the last N lines; passtailto control how manyexec_commandruns inside a running container; the container must be started firstremove_containerwithforce: truestops 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_containerswithall: truefor stopped IDs/names exec_commandfails: container must be running; shell may not exist in minimal images- Empty logs: container just started or logging driver differs; increase
tailor check app stdout
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.
- 2d ago First seen · 51 lines · 48 tokens per session scan A 38a090cfaa67
docker-management is a skill published in the GitHub repository ofershap/mcp-server-docker (2 stars, last pushed 23d ago), licensed MIT. It adds 48 tokens to every session and 535 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
Docker Compose Generator
Generates production-ready docker-compose.yml files for any application stack.
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…
devops-dockerfile-optimizer
Activate when the user asks to "optimize this Dockerfile," "make my docker image smaller," "reduce docker image size," "speed up docker build," "fix slow docker rebuilds," "my Docker builds are slow / cache always misses," "convert to multi-stage build," "harden my container / run as non-root," or pastes a Dockerfile…
new-service
Add a new service to Harbor — scaffold the compose config, environment variables, metadata, documentation, and cross-service integrations. Use this skill whenever the user wants to add a new service to Harbor, integrate a new tool/app/model server, create a compose configuration for a new project, or onboard any…
skillshare-devcontainer
Run CLI commands, tests, and debugging inside the skillshare devcontainer. Use this skill whenever you need to: execute skillshare CLI commands for verification, run Go tests (unit or integration), reproduce bugs, test new features, start the web UI, or perform any operation that requires a Linux environment. All CLI…
dokploy-deploy
This skill should be used when user asks to "deploy with Dokploy", "use Dokploy Cloud", "manage self-hosted Dokploy", "deploy Docker Compose on Dokploy", "manage Dokploy databases", "configure Dokploy domains", or "look up Dokploy CLI commands".