agentleFS
cookieMonsterDevcookieMonsterDev/agents-skills/skills/docs/docker-docs/SKILL.md

docker-docs

Skill7 starsChanged 15 days agoMITView on GitHub

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.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Default to Compose v2 (docker compose, the plugin).

    line 33
  2. Very specific:

    Check the security guidance before recommending latest tags or root-in-container defaults.

    line 35
  3. Distinctive:

    Check the Swarm compatibility notes before carrying Compose file features into a stack deploy.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. 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.
  2. Search docs.docker.com with the user's exact terms plus Docker vocabulary such as compose.yaml, HEALTHCHECK, buildx, --mount, overlay2, or DOCKER_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.
  3. 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.
  4. 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 run or docker 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.yaml keys, and the docker compose CLI 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 version output semantics, before hardcoding endpoints.

Gotchas

  • Default to Compose v2 (docker compose, the plugin); use legacy docker-compose v1 (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 latest tags 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.