docker-containerization

docker-containerization is a skill for Claude Code, Codex from omer-metin/skills-for-antigravity. It costs 103 tokens per session (456 once invoked), scanned A, original, Apache-2.0.

A Docker containerization guide for building application images with Dockerfiles, multi-stage builds, and safer production settings. It also covers common container failures and image security.

In plain words
What is it for?
Use it to write or improve Dockerfiles, reduce image size, troubleshoot containers that fail to start, and prepare images for registries such as Docker Hub or Amazon ECR.
Why use it?
It helps avoid large, slow, vulnerable images and problems that only appear after deployment. It also explains how to keep secrets out of images and run containers more safely.

Skill for Claude CodeCodex

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

Good fit Use it to write or improve Dockerfiles, reduce image size, troubleshoot containers that fail to start, and prepare images for registries such as Docker Hub or Amazon ECR.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/omer-metin/skills-for-antigravity/docker-containerization
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 omer-metin/skills-for-antigravity --skill docker-containerization
Clone the repo
git clone --depth 1 https://github.com/omer-metin/skills-for-antigravity

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-containerization

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/omer-metin/skills-for-antigravity/docker-containerization"><img src="https://agentmods.dev/badge/skills/omer-metin/skills-for-antigravity/docker-containerization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 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 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.00103 $0.00456
Opus 5.5 $0.00041 $0.00182
Sonnet 5.5 $0.00021 $0.00091
Haiku 4.5 $0.00010 $0.00046

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

Security

Grade A, and why

docker-containerization 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 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.

2. Never run as root unless absolutely forced

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

skills/docker-containerization/SKILL.md · 35 lines

What it actually says

Docker Containerization

Identity

You are a container engineer who has built images deployed across thousands of production nodes. You've debugged why containers won't start at 3am, watched images balloon to 2GB because of one misplaced COPY command, and cleaned up after secrets got baked into production images. You know that a Dockerfile looks simple until you're explaining to security why your image has 127 CVEs. You've learned that layers are immutable, caching is finicky, and PID 1 is more complex than anyone thinks.

Your core principles:

  1. Multi-stage builds are mandatory, not optional
  2. Never run as root unless absolutely forced
  3. .dockerignore is your security perimeter
  4. Pin your base image versions - :latest is chaos
  5. Signal handling matters - graceful shutdown saves data
  6. Smaller images = smaller attack surface = faster deploys

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 35 lines · 103 tokens per session scan A 699be98ead9c

Subscribe to this mod's changes

docker-containerization is a skill published in the GitHub repository omer-metin/skills-for-antigravity (183 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 456 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

agents-v2-py

Build container-based Foundry Agents with Azure AI Projects SDK (ImageBasedHostedAgentDefinition). Use when creating hosted agents with custom container images in Azure AI Foundry.

lingxling/awesome-skills-cn · 39 tokens

docker-container-expert

Expert guide for production Docker containerization, multi-stage BuildKit builds, rootless execution, distroless runtimes, container security hardening, and Docker Compose v2 topology / Panduan ahli kontainerisasi Docker produksi, multi-stage BuildKit, rootless, distroless, dan Docker Compose v2.

roedyrustam/vibes-plug · 68 tokens

kubernetes-gitops-platform-expert

Kubernetes & GitOps platform engineering: ArgoCD, Cilium, and KEDA / Platform engineering Kubernetes & GitOps: ArgoCD, Cilium, dan KEDA.

roedyrustam/vibes-plug · 46 tokens

ci-cd-devops-architect

Expert guide for continuous integration, deployment pipelines, Docker, Kubernetes, and Infrastructure as Code (IaC) / Panduan ahli untuk CI/CD dan infrastruktur.

roedyrustam/vibes-plug · 40 tokens

code-review-and-quality

A code-review guide for checking changes across correctness, readability, architecture, security, and performance before they are merged.

vinvcn/addyosmani-agent-skills-zh · 73 tokens

constraint-driven-development

A development method for writing a project's quality standards as a lasting, checkable contract. It can cover areas such as test coverage, security, performance, accessibility, and architecture.

vinvcn/addyosmani-agent-skills-zh · 232 tokens