/skills:dockerfrom skills
Use when building, securing, debugging or operating Docker images and Compose stacks — Dockerfiles, BuildKit, buildx and Bake, caching, multi-platform builds, Compose overrides, profiles and Watch, networking, volumes, readiness, deployment, recovery.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A decision and operations skill for Docker images, local/remote Engines, and Compose applications. Keep this entrypoint small; use the reference files for implementation details. Documentation review: 2026-10-09. Recheck release-dependent behavior against the installed CLI, builder, daemon, and platform.
Establish the requested outcome, target context/host, operating system and rootless/Desktop mode, project name, Compose files/profiles, builder, image identity, and persistent data. Separate a build problem from a model-rendering problem, a runtime problem, and a registry problem. Never assume that the local shell and daemon share a filesystem.
Read versions and capabilities for new features or compatibility questions. For unfamiliar scope, read the execution model. Do not read every reference by default.
| Task or symptom | Read first | Expand only as needed |
|---|---|---|
| Slow, oversized, or unreliable builds | Dockerfile design | Contexts, cache and CI |
| Build credentials or private dependencies | Secrets and SSH | Supply chain |
| Architecture mismatch or build orchestration | Multi-platform | Bake |
| New Compose stack or command choice | Project model | Compose index |
| Wrong environment value | Interpolation and environment | Secrets and configs |
| Split files, shared modules, or dev/prod variants | Merge and fragments | Include |
| Readiness, dependencies, migrations, or unexpected restart | Health and lifecycle | Profiles and jobs |
| Connection refused or wrong exposure | Networks | Contexts/remote hosts |
| Lost data or permission denied | Volumes | Backup and recovery |
| Development feedback or live source updates | Watch and debug | Build cache |
| High load, scaling, or OOM | Resources and scaling | Logging/monitoring |
| Release, CI, deployment, or rollback | Deploy and rollback | Image release identity |
| Incident or unexplained behavior | Diagnostic ladder | Daemon/storage |
| Agent access or host hardening | Security and agent access | Rootless/Desktop/platforms |
Start with non-mutating evidence. Before changing state, identify the exact context, project, resource ownership, expected impact, and recovery path. Treat socket access and build execution as privileged capabilities; a read-only socket mount is not a read-only API.
Render the intended Compose model before applying it. Interpolation sources are not automatically container environment variables. Readiness is not creation order, health status is not automatic repair, and restarting a container is not the same as applying changed configuration. Verify effective settings instead of trusting a successful command alone.
Never place secrets in image layers or unreviewed logs. Prefer build secret mounts and runtime secret files where supported. Do not infer production suitability from a teaching example. Image tags and sample resource budgets are not permanent deployment policy.
Do not run broad prune, volume deletion, down -v, or destructive database migration without explicit scope, authorization, and recovery evidence. Preserve incident evidence before recreating containers.
The modular Compose lab includes a small HTTP service, its healthcheck, a helper include, Watch override, and explicit port replacement. The environment fixture demonstrates two-stage environment handling; the lifecycle fixture demonstrates health and one-off completion dependencies. collect-basics.sh collects selected read-only CLI evidence.
For a proposed change, report target/version assumptions, selected references, exact files/commands, validation, expected effect, and rollback. For an incident, report evidence, ranked hypotheses, the next discriminating check, and the least destructive repair. State what was tested and what remains unverified.
Use sibling skill docker-engine-api for direct HTTP clients and docker-registry for registry/mirror operation. They are optional, not hidden installation dependencies. The full index and source register provide deeper navigation.
examples/compose-lab/README.md (opens in a new tab)examples/compose-lab/app/Dockerfile (opens in a new tab)examples/compose-lab/app/app.py (opens in a new tab)examples/compose-lab/compose.dev.yaml (opens in a new tab)examples/compose-lab/compose.port-override.yaml (opens in a new tab)examples/compose-lab/compose.yaml (opens in a new tab)examples/compose-lab/modules/tools/check.py (opens in a new tab)examples/compose-lab/modules/tools/compose.yaml (opens in a new tab)examples/environment/README.md (opens in a new tab)examples/environment/compose.yaml (opens in a new tab)examples/lifecycle/README.md (opens in a new tab)examples/lifecycle/compose.yaml (opens in a new tab)references/INDEX.md (opens in a new tab)references/SOURCES.md (opens in a new tab)references/build/bake-and-build-orchestration.md (opens in a new tab)references/build/cache-and-ci.md (opens in a new tab)references/build/contexts-and-ignore.md (opens in a new tab)references/build/dockerfile-design.md (opens in a new tab)references/build/multi-platform.md (opens in a new tab)references/build/secrets-and-ssh.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (getty/skills) — no native marketplace selected
npx claudepluginhub p/getty-skills129 skills in this plugin
/ai-playable-gamesUse when building a game or simulation that bots or LLM agents must play — observation and order interface, agent API or MCP server, AI seats beside humans, fog of war, replays; or when an AI player cheats, stalls, misreads the state or follows text other players wrote./ai-web-scrapingUse when scraping, crawling or extracting structured data from websites, especially with an LLM — Crawl4AI, Firecrawl, Scrapy, Crawlee, Playwright, browser-use; building a dataset or RAG corpus, watching pages for changes, or a scraper that returns empty, duplicated or invented records./cedar-engineeringUse when writing, validating or debugging Cedar authorization policies — .cedar and .cedarschema files, permit/forbid, entities and hierarchies, RBAC/ABAC/ReBAC, templates, multi-tenant access, partial evaluation, Amazon Verified Permissions, migrating to or from Cedar.Other plugins' skills for the same job