docker-management

docker-management is a skill for Claude Code, Codex from MilkyWay008/Hermes-OTG. It costs 14 tokens per session (2,419 once invoked), scanned A, a copy of docker-management, MIT.

A guide for managing Docker, a tool that runs applications in isolated containers. It covers containers, the packaged application environments they run in, as well as images, storage volumes, networks, and multi-service Compose projects.

In plain words
What is it for?
Starting, stopping, inspecting, debugging, and removing containers; building and managing images; running Compose projects; and managing volumes and networks.
Why use it?
It provides standard commands for common Docker tasks instead of requiring you to remember them. It also helps investigate failing containers and reclaim disk space.

Skill for Claude CodeCodex

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

Good fit Starting, stopping, inspecting, debugging, and removing containers; building and managing images; running Compose projects; and managing volumes and networks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/milkyway008/hermes-otg/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 MilkyWay008/Hermes-OTG --skill docker-management
Clone the repo
git clone --depth 1 https://github.com/MilkyWay008/Hermes-OTG

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/milkyway008/hermes-otg/docker-management/github.svg)](https://agentmods.dev/skills/milkyway008/hermes-otg/docker-management)
Your own site
<a href="https://agentmods.dev/skills/milkyway008/hermes-otg/docker-management"><img src="https://agentmods.dev/badge/skills/milkyway008/hermes-otg/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/milkyway008/hermes-otg/docker-management"><img src="https://agentmods.dev/badge/skills/milkyway008/hermes-otg/docker-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,419 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00014 $0.02419
Opus 5 $0.00007 $0.01210
Sonnet 5 $0.00003 $0.00484
Haiku 4.5 $0.00001 $0.00242

Measured 10d ago against content hash f6ca3b4c4163, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

docker-management scanned grade A with 1 finding 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Port accessible?** → `curl -s http://localhost:PORT` or `docker port NAME`
Origin

This is a copy

100% identical to docker-management — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

data/skills/devops/docker-management/SKILL.md · 282 lines

How it starts

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

Docker Management

Manage Docker containers, images, volumes, networks, and Compose stacks using standard Docker CLI commands. No additional dependencies beyond Docker itself.

When to Use

  • Run, stop, restart, remove, or inspect containers
  • Build, pull, push, tag, or clean up Docker images
  • Work with Docker Compose (multi-service stacks)
  • Manage volumes or networks
  • Debug a crashing container or analyze logs
  • Check Docker disk usage or free up space
  • Review or optimize a Dockerfile

Prerequisites

  • Docker Engine installed and running
  • User added to the docker group (or use sudo)
  • Docker Compose v2 (included with modern Docker installations)

Quick check:

docker --version && docker compose version

Quick Reference

Task Command
Run container (background) docker run -d --name NAME IMAGE
Stop + remove docker stop NAME && docker rm NAME
View logs (follow) docker logs --tail 50 -f NAME
Shell into container docker exec -it NAME /bin/sh
List all containers docker ps -a
Build image docker build -t TAG .
Compose up docker compose up -d
Compose down docker compose down
Disk usage docker system df
Cleanup dangling docker image prune && docker container prune

Procedure

1. Identify the domain

Figure out which area the request falls into:

  • Container lifecycle → run, stop, start, restart, rm, pause/unpause
  • Container interaction → exec, cp, logs, inspect, stats
  • Image management → build, pull, push, tag, rmi, save/load
  • Docker Compose → up, down, ps, logs, exec, build, config
  • Volumes & networks → create, inspect, rm, prune, connect
  • Troubleshooting → log analysis, exit codes, resource issues

2. Container operations

Run a new container:

# Detached service with port mapping
docker run -d --name web -p 8080:80 nginx

# With environment variables
docker run -d -e POSTGRES_PASSWORD=secret -e POSTGRES_DB=mydb --name db postgres:16

# With persistent data (named volume)
docker run -d -v pgdata:/var/lib/postgresql/data --name db postgres:16

# For development (bind mount source code)
docker run -d -v $(pwd)/src:/app/src -p 3000:3000 --name dev my-app

# Interactive debugging (auto-remove on exit)
docker run -it --rm ubuntu:22.04 /bin/bash

# With resource limits and restart policy
docker run -d --memory=512m --cpus=1.5 --restart=unless-stopped --name app my-app

Read the full file on GitHub · 282 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. 10d ago First seen · 282 lines · 14 tokens per session scan A f6ca3b4c4163

Subscribe to this mod's changes

docker-management is a skill published in the GitHub repository MilkyWay008/Hermes-OTG (15 stars, last pushed 26d ago), licensed MIT. It adds 14 tokens to every session and 2,419 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to docker-management, differing in 3 lines, and is treated as a copy.

Related

Other skills, from other repositories

hunt-k8s

Hunt Kubernetes & Docker — API anonymous access, kubelet 10250 exec (SPDY/WebSocket, NOT plain POST) and the simpler /run primitive, etcd 2379 unauth, dashboard skip-login, RBAC misconfig, secret/SA-token abuse, docker.sock host escape, runc/container-escape (Leaky Vessels CVE-2024-21626), API-server-mediated…

uphiago/recon-skills · 159 tokens

docker-privesc

Escape Docker containers to host root via 5 techniques.

uphiago/recon-skills · 16 tokens

performing-cloud-native-forensics-with-falco

Uses Falco YAML rules for runtime threat detection in containers and Kubernetes, monitoring syscalls for shell spawns, file tampering, network anomalies, and privilege escalation. Manages Falco rules via the Falco gRPC API and parses Falco alert output. Use when building container runtime security or investigating k8s…

xalgorix/xalgorix · 77 tokens

incident-commander

Autonomous incident detection, root-cause analysis, and self-healing for Linux/Docker production environments. Activate when the user mentions: server down, high CPU, memory leak, disk full, service crash, deployment failure, alert firing, on-call page, or any infrastructure emergency. Also activates on scheduled…

Lethe044/hermes-incident-commander · 92 tokens

analyzing-docker-container-forensics

Investigate compromised Docker containers by analyzing images, layers, volumes, logs, and runtime artifacts to identify malicious activity and evidence.

mukul975/Anthropic-Cybersecurity-Skills · 34 tokens

supply-chain-attack-recon

External recon for software supply-chain attack surface — package-namespace squatting candidates, dependency-confusion vulnerabilities, GitHub Actions injection openings, container image registry exposure, SBOM mining, internal-package-name leakage, and CI/CD configuration exposure. Reconnaissance and identification…

uphiago/recon-skills · 141 tokens