docker

docker is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 38 tokens per session (1,354 once invoked), scanned A, original, MIT.

A system for packaging an application and its dependencies into portable containers. It includes Dockerfiles for building images and Compose for running several related containers together.

In plain words
What is it for?
Use it to containerize applications, run multi-service environments locally, create smaller production images with multi-stage builds, and use the same package in CI/CD.
Why use it?
It makes development, testing, and deployment environments more consistent across a developer's machine, CI, and production.

Skill for Claude CodeCodex

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

Good fit Use it to containerize applications, run multi-service environments locally, create smaller production images with multi-stage builds, and use the same package in CI/CD.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/docker
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 G1Joshi/Agent-Skills --skill docker
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

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/g1joshi/agent-skills/docker/github.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/docker)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/docker"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/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/g1joshi/agent-skills/docker"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/docker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 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.00038 $0.01354
Opus 5.5 $0.00015 $0.00542
Sonnet 5.5 $0.00008 $0.00271
Haiku 4.5 $0.00004 $0.00135

Measured 1mo ago against content hash 523cd307857a, 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 2 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| `Cannot connect to the Docker daemon at unix:///var/run/docker.sock` | Docker daemon is not running or current user lacks docker group permission. | Start Docker service (`systemctl start docker`) or add user: `sudo us

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

CMD wget --no-verbose --tries=1 --spider http://localhost:3000/healthz || exit 1
skills/devops/docker/SKILL.md · 183 lines

How it starts

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

Docker

Docker standardizes application delivery by packaging software into portable OCI containers, utilizing BuildKit multi-stage builds and vulnerability scanning for secure supply chains.

When to Use

  • Application Containerization: Packaging code, runtime, system libraries, and settings into portable, reproducible container images.
  • Multi-Stage Build Optimization: Creating ultra-small, secure production container images stripped of compilers and build tooling.
  • Local Microservice Development: Orchestrating multi-container environments (app, database, cache) with Docker Compose.
  • Standardized CI/CD Artifacts: Building OCI-compliant images deployed to Kubernetes, ECS, or serverless container runtimes.

Quick Start

# syntax=docker/dockerfile:1
FROM node:22-alpine AS base
WORKDIR /app
COPY package*.json ./

FROM base AS deps
RUN npm ci

FROM base AS release
COPY --from=deps /app/node_modules ./node_modules
COPY . .
CMD ["node", "index.js"]

Core Concepts

Multi-Stage Production Dockerfile

Building a minimal, secure Node.js container with non-root user:

# syntax=docker/dockerfile:1.7
# Stage 1: Build & Dependencies
FROM node:22-alpine AS builder
WORKDIR /app

COPY package*.json ./
RUN npm ci

COPY . .
RUN npm run build && npm prune --production

# Stage 2: Distroless/Minimal Production Runtime
FROM node:22-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production

# Security: Run as unprivileged non-root user
USER node

# Copy only production artifacts
COPY --chown=node:node --from=builder /app/node_modules ./node_modules
COPY --chown=node:node --from=builder /app/dist ./dist
COPY --chown=node:node --from=builder /app/package.json ./package.json

EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s --retries=3 \
  CMD wget --no-verbose --tries=1 --spider http://localhost:3000/healthz || exit 1

ENTRYPOINT ["node", "dist/index.js"]

Multi-Container Orchestration with Docker Compose

Defining local development stacks with health checks:

Read the full file on GitHub · 183 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 Changed · +5 lines 523cd307857a
  2. 1mo ago Changed · +113 lines · +18 tokens per session scan B → A a76b44ed44d5
  3. 2mo ago First seen · 65 lines · 20 tokens per session scan B f9dcd390ed6c

Subscribe to this mod's changes

docker is a skill published in the GitHub repository G1Joshi/Agent-Skills (15 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 1,354 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 2 findings (asks for root, makes network calls). 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
dockerG1Joshi/Agent-SkillsSkill151mo agoMITA38Claude Code, Codex
doubt-driven-developmentaddyosmani/agent-skillsSkill114k6d agoMITA96Claude Code
performance-optimizationaddyosmani/agent-skillsSkill114k6d agoMITA59Claude Code
context-engineeringaddyosmani/agent-skillsSkill114k6d agoMITA43Claude Code
git-workflow-and-versioningaddyosmani/agent-skillsSkill114k6d agoMITA131Claude Code
ci-cd-and-automationaddyosmani/agent-skillsSkill114k6d agoMITA45Claude Code
incremental-implementationaddyosmani/agent-skillsSkill114k6d agoMITA79Claude Code