docs_lookup
Look up Docker SDK, CLI, and registry reference documentation by section. Retrieve section content or list all available sections to guide configuration and compose file syntax.
Instructions
Look up Docker SDK/CLI/registry reference documentation by section.
A tool-callable mirror of the docker-docs:// resources, for clients that can't read MCP
resources (e.g. Claude Desktop, Cursor). Always registered regardless of
DOCKER_MCP_SERVER_DISABLE — looking something up costs nothing and isn't tied to any single
Docker feature area — but an individual section still refuses if the domain it documents is
disabled, matching the equivalent docker-docs://{section} resource exactly.
Omit section to list every available section with its source URL (same as
docker-docs://contents); pass a section name to fetch that page's content (same as
docker-docs://{section}). Most useful before constructing an extra_kwargs-style passthrough
dict for a tool like container_run/container_create/service_create (their docstrings only
list common keys, not every key docker-py accepts), or before writing Compose/Dockerfile/buildx
bake-file syntax, which no tool generates.
args: section - Section name (from a no-argument call's index); omit to list all sections instead
returns: str - JSON section index (no section) or that section's raw HTML/Markdown content
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |