Docker

docs.docker.com
Score: 89 out of 100, grade B89
Grade B
Last checked: May 7, 2026 · afdocs v0.17.1 · Rerun
Share on
Simulation: Fern // bud
Day 0
CategoryInfrastructure
Checks passed17/23Warnings2Failed3

Docker scores 89/100 (Grade B), passing 17 of 23 checks (74%). The documentation is broadly accessible to AI agents but has 5 areas that could be improved to better serve automated tooling.

# Agent Score Fix Report — Docker
URL: https://docs.docker.com
Score: 89/100 (Grade B)

I need help improving the AI-readiness of the documentation at https://docs.docker.com.
Agent Score found 3 failing checks and 2 warnings.

## Failing Checks (3)
- [content-discoverability] Llms Txt Directive Md: No llms.txt directive found in markdown of any of 10 sampled pages
- [observability] Llms Txt Coverage: llms.txt covers 39/1655 sitemap doc pages (2%); 1616 missing
- [observability] Markdown Content Parity: 7 of 10 pages have substantive content differences between markdown and HTML (avg 37% missing)

## Warnings (2)
- [content-discoverability] Llms Txt Directive Html: llms.txt directive found in HTML of 10 of 10 sampled pages, but buried deep in the page (past 50%)
- [page-size] Page Size Html: 9 of 10 sampled pages convert to 50K–100K chars (max 498K HTML → 85K markdown (84% boilerplate))

## Fix Instructions

For each issue above, please:
1. Analyze the documentation site at https://docs.docker.com
2. Implement the specific fix
3. Verify the fix would cause the check to pass

### Common fixes:
- **No llms.txt**: Create /llms.txt following https://llmstxt.org — list all doc pages in markdown format
- **No .md URL support**: Configure your docs platform to serve pages at equivalent .md URLs (e.g. /docs/quickstart.md)
- **No content negotiation**: Return markdown when request includes Accept: text/markdown header
- **Large page size**: Reduce nav boilerplate, inline scripts, and repetitive markup
- **No sitemap**: Generate /sitemap.xml listing all documentation URLs
- **Auth walls**: Ensure docs pages return 200 without requiring login cookies or tokens
- **No Last-Modified header**: Configure your server/CDN to include Last-Modified response headers
- **Tab content hidden**: Ensure tabbed content is rendered in the HTML (not JS-only) so agents can read all variants

## Run afdocs Locally for More Detail

To get deeper visibility into what's failing, run afdocs against your docs:

  npx afdocs check https://docs.docker.com --fixes --verbose

- **--fixes**: Adds "Fix:" lines to the output for each warn/fail check with actionable remediation steps
- **-v, --verbose**: Shows per-page details (specific URLs, character counts, error codes) for checks with issues — useful for per-URL visibility into what's failing
CHECK RESULTS

How your docs scored

llms-txt-coveragellms.txt covers 39/1655 sitemap doc pages (2%); 1616 missingLearn more
markdown-content-parity7 of 10 pages have substantive content differences between markdown and HTML (avg 37% missing)Learn more
cache-header-hygieneAll 11 endpoints have appropriate cache headersLearn more
auth-gate-detectionAll 10 sampled pages are publicly accessibleLearn more
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths neededLearn more
llms-txt-directive-mdNo llms.txt directive found in markdown of any of 10 sampled pagesLearn more
llms-txt-directive-htmlllms.txt directive found in HTML of 10 of 10 sampled pages, but buried deep in the page (past 50%)Learn more
llms-txt-existsllms.txt found at https://docs.docker.com/llms.txtLearn more
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)Learn more
llms-txt-sizellms.txt is 5,747 characters (under 50,000 threshold)Learn more
llms-txt-links-resolveAll 10 same-origin sampled links resolve (41 total links)Learn more
llms-txt-links-markdown10/10 same-origin sampled links point to markdown content (100%) (1 external link excluded)Learn more
page-size-html9 of 10 sampled pages convert to 50K–100K chars (max 498K HTML → 85K markdown (84% boilerplate))Learn more
rendering-strategyAll 10 sampled pages contain server-rendered contentLearn more
page-size-markdownAll 10 pages under 50K chars (median 2K, max 5K)Learn more
content-start-positionContent starts within first 10% on all 10 sampled pages (median 0%)Learn more
markdown-url-support10/10 sampled pages support .md URLs (100%)Learn more
content-negotiation10/10 sampled pages support content negotiation (100%)Learn more
tabbed-content-serializationNo tabbed content detected across 10 sampled pagesLearn more
section-header-qualityNo tabbed content found; header quality check not applicableLearn more
markdown-code-fence-validityAll 9 code fences properly closed across 11 pagesLearn more
http-status-codesAll 10 sampled pages return proper error codes for bad URLsLearn more
redirect-behaviorNo redirects detected across 10 sampled pagesLearn more

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by