Docker Docs
Published by cookiemonsterdev in agents-skills
What this skill does
Official Docker documentation, answered with links to the exact pages. Use for any Docker question, including Dockerfiles and Buildx, Docker Compose, Engine networking and storage, registries, the Engine API, Swarm, or Docker Desktop.
Add Docker Docs to your agent
Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.
Install with a prompt
Paste this into a compatible coding agent:
add this skill "docker-docs" from https://github.com/cookiemonsterdev/agents-skillsInstall with the CLI
Run this command in a controlled environment after reviewing the repository:
npx skills add https://github.com/cookiemonsterdev/agents-skills --skill docker-docsSkill instructions
Docker Docs
Docker answers drift toward legacy docker-compose v1 patterns and stale Dockerfile syntax, so ground each answer in the live docs at https://docs.docker.com/, not memory, and link the exact page behind every claim.
Route Kubernetes clusters and kubectl to kubernetes-docs, ECS and Fargate to aws-ecs-docs, and AWS CLI commands for ECR to aws-cli-docs. Nomad, Podman and application frameworks belong to their own docs unless the question turns on Docker compatibility, migration, or containerizing that stack.
Workflow
- Locate the question in
references/topic-map.md, a selective index of docs entry points. Done when each part of the question maps to a section of the map, or you have noted that none fits. - Search
docs.docker.comwith the user's exact terms plus Docker vocabulary such ascompose.yaml,HEALTHCHECK,buildx,--mount,overlay2, orDOCKER_HOST, starting from the map's pages and the Routing rules below. Done when you hold the one page that most directly answers each part. - Read each page down to the relevant section. Done when you have read the passage behind every claim you will make. When a page has moved, been renamed, or stops short, say so and link the nearest authoritative pages.
- Answer with the direct answer first, each docs link beside the claim it supports, and Dockerfile, Compose or CLI examples only when the user asks or the page needs them. Mark any conclusion that joins several pages as
Inference:. Done when every claim cites a specific page, not the docs home.
Routing
- CLI syntax, file formats and APIs: the reference section at https://docs.docker.com/reference/, down to the specific command page such as
docker runordocker compose up. - Install, configure and operate: the manuals at https://docs.docker.com/manuals/, starting with the Engine or Desktop install manual for install questions.
- Task walkthroughs: the guides at https://docs.docker.com/guides/.
- Concepts: Get Started and the Engine overview, before CLI reference pages.
- Compose: the Compose Specification for
compose.yamlkeys, and thedocker composeCLI reference for commands. - Builds: the Dockerfile reference and the
docker build/ Buildx docs, before layer-caching advice. - Networking: the network driver and port publishing docs, before DNS or firewall advice.
- Storage: the volumes, bind mounts and tmpfs manuals, before recommending host paths.
- Engine API: the Engine API version matrix and
docker versionoutput semantics, before hardcoding endpoints.
Gotchas
- Default to Compose v2 (
docker compose, the plugin); use legacydocker-composev1 (hyphenated) syntax and behavior only when the user needs it. - Named volumes and bind mounts differ on persistence and permissions; name which one the answer uses.
- Check the security guidance before recommending
latesttags or root-in-container defaults. - Check the Swarm compatibility notes before carrying Compose file features into a stack deploy.
- Confirm each Dockerfile instruction against the current Dockerfile reference, which marks deprecated ones.
Files included
- LICENSE
- references/topic-map.md
- SKILL.md

