docker

docker is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 26 tokens per session (1,297 once invoked), scanned A, original, MIT.

A Docker management tool for building and running containers, which package an application with the files it needs to run. It also manages Docker Compose stacks, which coordinate multiple containers.

In plain words
What is it for?
Use it to build images, start or stop containers, view logs, open a shell in a running container, and run multi-service Compose applications.
Why use it?
It simplifies common container tasks and helps inspect or troubleshoot services, images, networks, and volumes.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/compose-gen.sh <project-name> [services...].

Good fit Use it to build images, start or stop containers, view logs, open a shell in a running container, and run multi-service Compose applications.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex
agentmods
npx agentmods add skills/jansenanalytics/claudex/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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/docker/github.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/docker)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/docker"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/docker/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/docker"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/docker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,297 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.00026 $0.01297
Opus 5.5 $0.00010 $0.00519
Sonnet 5.5 $0.00005 $0.00259
Haiku 4.5 $0.00003 $0.00130

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

Security

Grade A, and why

docker 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 2mo 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/SKILL.md · 217 lines

How it starts

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

Docker Skill

Manage Docker containers and Compose stacks: build, run, stop, logs, exec, prune, multi-service orchestration.

Use When

  • Building/running containers or debugging container issues
  • Setting up docker-compose stacks
  • Managing images, volumes, networks
  • Containerizing applications
  • Multi-service orchestration

Quick Reference

Container Lifecycle

# Run container (detached, with name, port mapping, env vars)
docker run -d --name myapp -p 8080:80 -e NODE_ENV=production --restart unless-stopped myimage:latest

# Interactive shell
docker exec -it myapp bash

# Logs (follow, with timestamps, last 100 lines)
docker logs -f --tail 100 --timestamps myapp

# Stop / remove
docker stop myapp && docker rm myapp

# List running (all with -a)
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"

Building Images

# Build with tag
docker build -t myapp:latest .

# Multi-stage build (target specific stage)
docker build --target production -t myapp:prod .

# Build with build args
docker build --build-arg VERSION=1.2.3 -t myapp:1.2.3 .

# No cache rebuild
docker build --no-cache -t myapp:latest .

Docker Compose

# Start all services (detached)
docker compose up -d

# Start specific service
docker compose up -d postgres

# Rebuild and restart
docker compose up -d --build

# View logs across services
docker compose logs -f --tail 50

# Stop and remove everything (including volumes)
docker compose down -v

# Scale a service
docker compose up -d --scale worker=3

# Execute command in running service
docker compose exec web bash

# View service status
docker compose ps

Debugging

# Inspect container (full JSON)
docker inspect myapp

# Resource usage
docker stats --no-stream

# See container processes
docker top myapp

# Copy files out of container
docker cp myapp:/app/logs/error.log ./error.log

# Check why container exited
docker inspect --format='{{.State.ExitCode}} {{.State.Error}}' myapp

# Network debugging
docker network ls
docker network inspect bridge

# Enter stopped container's filesystem
docker run --rm -it --entrypoint sh myimage:latest

Read the full file on GitHub · 217 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. 2mo ago First seen · 217 lines · 26 tokens per session scan A 74b35a74a85f

Subscribe to this mod's changes

docker is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 5mo ago), licensed MIT. It adds 26 tokens to every session and 1,297 once invoked, about $0.0001 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-09-03.

Related

docker compared with skills from other repositories

docker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dockerJansenAnalytics/claudexSkill55mo agoMITA26Claude Code, Codex
docker-docspledgeandgrow/pledge-skillsSkill114mo agoMITA93Claude Code, Codex
docker-containerizationorganvm-iv-taxis/a-i--skillsSkill173mo agoApache-2.0B50Claude Code
docker-composeLuuOW/meridian-mcpSkill01mo agoMITA35Claude Code, Codex
harborav/harborSkill3.3k19d agoApache-2.0A114Claude Code
atmos-helmfilecloudposse/atmosSkill1.4ktodayApache-2.0A38Claude Code
atmos-containercloudposse/atmosSkill1.4ktodayApache-2.0A45Claude Code