Commit Graph

66989 Commits

Author SHA1 Message Date
David Karlsson d95336d485 Merge pull request #25178 from dvdksn/mermaid-codeblock-hook
layouts: render mermaid code blocks as diagrams
2026-05-27 14:49:57 +02:00
David Karlsson f425f09df7 get-started: render registry diagram with mermaid
Replaces the goat ASCII-art registry/repository/image diagram with a
mermaid flowchart that uses nested subgraphs to express the same
containment hierarchy. Also exercises the new mermaid codeblock hook
so the layouts ship with at least one consumer.
2026-05-27 12:17:24 +02:00
David Karlsson 9789556384 layouts: render ```mermaid code blocks as diagrams
Adds a Hugo codeblock render hook that turns ```mermaid fences into
<pre class="mermaid"> containers, plus a lazily-loaded mermaid bundle
that only ships on pages that actually contain a diagram. Mirrors the
existing YouTube embed pattern (Store flag + conditional script tag in
baseof) so the main scripts.js bundle stays unchanged.
2026-05-27 11:08:46 +02:00
Craig Osterhout 2ea4a02305 dhi: update cli ref (#25163)
<!--Delete sections as needed -->

## Description

Updated DHI CLI to v0.0.4 that adds `docker dhi auth deb`.

https://github.com/docker-hardened-images/dhictl/releases/tag/v0.0.4


https://deploy-preview-25163--docsdocker.netlify.app/reference/cli/docker/dhi/auth/

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-05-26 07:56:15 -07:00
Allie Sadler da3e8bb0d1 4.75-updates (#25166)
<!--Delete sections as needed -->

## Description

Scout view got cut from DD 

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Signed-off-by: aevesdocker <allie.sadler@docker.com>
2026-05-26 15:25:21 +01:00
Allie Sadler db13cdfd87 4.75 RN (#25116)
<!--Delete sections as needed -->

## Description

<!-- Tell us what you did and why -->

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2026-05-26 15:25:08 +01:00
David Karlsson 76547a84df Merge pull request #25161 from dvdksn/sbx-agent-args-config-docs
sbx: document new arg-passing behavior for agents
2026-05-26 11:16:50 +02:00
David Karlsson 1e24493d89 Merge pull request #25164 from 0xIkari/patch-1
Add case-sensitivity note for Docker ID
2026-05-26 08:09:42 +02:00
Ikari 2b30445e97 Add case-sensitivity note for Docker ID
Clarify that the Docker ID is case-sensitive when setting a new organization owner.
2026-05-25 17:58:37 -04:00
Craig Osterhout f65c258132 dhi: add deb hsp (#25155)
<!--Delete sections as needed -->

## Description

Added deb hardened system package CLI workflows.
Pending new dhictl CLI release to support `docker dhi auth deb`

Will update CLI reference in separate PR.


https://deploy-preview-25155--docsdocker.netlify.app/dhi/how-to/hardened-packages/

## Related issues or tickets

https://docker.slack.com/archives/C04M34MRQS1/p1779399631450319

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-05-25 11:29:33 -07:00
David Karlsson 81d107af48 Merge pull request #25117 from dvdksn/fix/issue-25056-sandbox-prerequisites
Link sandbox prerequisites from overview
2026-05-25 17:02:41 +02:00
David Karlsson 0a070707a1 Merge pull request #24750 from lacatoire/fix/issue-22899-buildkit-builtin-qemu
docs: note BuildKit ships QEMU emulators for multi-platform builds
2026-05-25 17:02:01 +02:00
David Karlsson 82265d8f00 Merge pull request #25066 from AkihiroSuda/rootless-29.5
engine/security/rootless/troubleshoot: update "Network is slow"
2026-05-25 17:01:36 +02:00
David Karlsson 9b1780fba0 Merge pull request #25102 from dvdksn/dvdksn/sbx-cli-reference-updates
Update sbx CLI reference data
2026-05-25 17:01:00 +02:00
David Karlsson 094eeb69b6 Merge pull request #25129 from dvdksn/sbx/mount-network-drives
sandboxes: warn against mounting network drives
2026-05-25 17:00:36 +02:00
David Karlsson 4b11e0ab8d Merge pull request #25151 from dvdksn/dbc-clarify-buildx-create
sbx: clarify that buildx create --driver cloud connects to existing builder
2026-05-25 17:00:05 +02:00
David Karlsson 82e9c91342 sbx: document new arg-passing behavior for agents
Args passed after `--` now replace an agent's default startup flags
instead of being appended to them. Add a "Default startup command"
subsection to each agent's Configuration section spelling out the exact
default command and how to keep the implicit flags when passing custom
args.
2026-05-25 16:33:12 +02:00
David Karlsson 6415e56194 Merge pull request #25156 from Nikhilkumar2311/fix/remove-duplicate-dct-deprecation
docs: remove duplicate DCT deprecation notice in content trust overview
2026-05-25 08:09:51 +02:00
Nikhilkumar2311 e22cac663a docs: remove duplicate DCT deprecation notice in content trust overview 2026-05-24 13:43:48 +05:30
David Karlsson eeb1b2b24f Merge pull request #25154 from dvdksn/fix-marlin
analytics: fix Marlin endpoint URL double-encoding
2026-05-22 17:50:36 +02:00
Leo 0f9dc094d1 Offload: update offload idle behaviour description (#24829)
<!--Delete sections as needed -->

## Description

Updates the description of Offload session management and idle behaviour

## Related issues or tickets

DCL-1716

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Co-authored-by: Craig Osterhout <craig.osterhout@docker.com>
2026-05-22 07:52:50 -07:00
David Karlsson 28ca826bf1 analytics: fix Marlin endpoint URL double-encoding in head.html
Hugo's html/template JS-escapes string values inside <script> blocks.
Calling jsonify per-field produced quoted strings like "https://..."
which were then re-escaped, embedding literal quote characters in the
endpoint value passed to the SDK.

Fix by jsonifying the whole config dict at once and marking it safeJS
so html/template does not apply a second round of escaping.

Also extract the environment ternary out of the Marlin constructor call
for readability.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 15:42:49 +02:00
David Karlsson a0a179c056 Merge pull request #25133 from dvdksn/marlin
analytics: add Marlin SDK and migrate dropdown Heap markers
2026-05-22 14:01:13 +02:00
David Karlsson a6c2209c7f analytics: add Marlin SDK and migrate dropdown Heap markers
Introduces @docker/marlin-sdk-web-public for first-party pageview and
click analytics, bundled into scripts.js via Hugo's existing js.Build
pipeline. Config is emitted to window.__marlinConfig from head.html and
gated to prod/staging only.

Renames data-heap-id attributes on the markdown-dropdown buttons to
marlin-action so they are picked up by the SDK's auto-click tracking.

TODO: replace the REPLACE-ME endpoint placeholders in hugo.yaml with
the canonical Marlin ingestion URLs from the data-platform team.

TODO: heap.track() calls in youtube-script.html are left in place —
the public SDK exposes no equivalent track() method, so video
play/pause events cannot be migrated yet.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-05-22 13:40:16 +02:00
David Karlsson 0fa9570704 sbx: VM clock drift is fixed; remove troubleshooting step (#25152)
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-05-22 13:23:48 +02:00
David Karlsson f29da0c32e sbx: VM clock drift is fixed; remove troubleshooting step
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-05-22 11:51:47 +02:00
David Karlsson 9896a7d297 sbx: clarify that buildx create --driver cloud connects to existing builder
Adds a note to the Docker Build Cloud setup steps clarifying that
`docker buildx create --driver cloud` connects Buildx to an existing
cloud builder created on the dashboard — it does not provision a new one.

Fixes #25150

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 11:10:01 +02:00
Craig Osterhout adb9861a1d sbx: update labels (#25141)
<!--Delete sections as needed -->

## Description

Update labels for sandbox

## Related issues or tickets

https://docker.slack.com/archives/C04300R4G5U/p1779390142616439

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Editorial review
- [ ] Product review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-05-21 12:41:58 -07:00
Craig Osterhout 76a133752c dhi: update cli and add customization yaml (#25126)
<!--Delete sections as needed -->

## Description

Updates DHI how-to docs for CLI v0.0.3 and adds a customization YAML
reference.

**cli.md / mirror.md / select-enterprise.md** (absorbs stale PR #24911):
- Switch code blocks to `console` with `$` prefixes
- Fix `mirror start` to use positional args (removes `-r` flag)
- Fix `customization prepare` to redirect to stdout (removes `--output`
flag)
- Add attestation commands (`list`, `get`, `sbom`)
- Update `customization get`, `delete`, and `build` commands to use IDs

**customize.md**:
- Add image customization YAML reference as a subsection of "Customize a
Docker Hardened Image"
- Add Helm chart customization YAML reference as a subsection of
"Customize a DHI Helm chart"
- Add CLI tab to "Edit or delete a customization"
- Add intro to "Monitor customization builds"

## Related issues or tickets

ENGDOCS-3277
ENGDOCS-3306

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-05-21 10:21:19 -07:00
Louis-Arnaud 85d52f0e67 docs: fix MD019 double space in Grafana MCP guide heading (#25137)
The "Data source Discovery" heading in
`content/guides/grafana-mcp-server-gemini.md` has two spaces after the
`###`, which trips markdownlint (MD019). Since the lint job runs over
the whole `content/**/*.md` tree, this currently fails CI on every open
PR. This removes the extra space.
2026-05-21 09:02:31 -07:00
Sebastiaan van Stijn b18488a30b Merge pull request #25138 from thaJeztah/fix_lint
guides/grafana-mcp-server-gemini: fix linting
2026-05-21 17:45:37 +02:00
Sebastiaan van Stijn bc4a06498f guides/grafana-mcp-server-gemini: fix linting
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-05-21 17:05:23 +02:00
Gerardo Lopez ce0382371c Merge pull request #24134 from falconcr/main
feat: integrate Gemini CLI with Docker MCP for natural language observability
2026-05-21 16:21:48 +02:00
Allie Sadler 807a8ec42a docs scanner: extensions issues (#25119)
<!--Delete sections as needed -->

## Description

Closes https://github.com/docker/docs/issues/25077
Closes https://github.com/docker/docs/issues/25076
Closes https://github.com/docker/docs/issues/25078

<!-- Tell us what you did and why -->

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2026-05-21 10:59:39 +01:00
David Karlsson 18d1988362 sandboxes: add release notes page sourced from GitHub releases (#25095)
## Summary

Add a release notes page for Docker Sandboxes under
`content/manuals/ai/sandboxes/release-notes.md`. The page is a single
Markdown file with an intro, an autogenerated block between `<!--
BEGIN/END GENERATED RELEASES -->` markers, and a link to the [Docker
Sandboxes releases on
GitHub](https://github.com/docker/sbx-releases/releases) for older
versions.

The generated block is populated by `hack/sbx-release-notes.py` — a
single-file `uv run` script (PEP 723 inline deps, Jinja2 only) that hits
the GitHub Releases API for `docker/sbx-releases`, filters to
strict-semver stable tags, groups by minor, and emits H2-per-release
sections for the latest N minor lines (default 2) and their patches.
Re-runs are idempotent and only touch content between the markers.
Script also runs `prettier --write` so output is lint-clean.

Also extends the existing release-notes Vale skip rule to match nested
paths under `content/manuals/`, so the new page picks up the same lint
exclusions as engine/desktop/build release notes.

## Usage

```sh
GITHUB_TOKEN=$(gh auth token) ./hack/sbx-release-notes.py
./hack/sbx-release-notes.py --minors 3
```

## Learnings

- Existing `.vale.ini` release-notes skip rule used
`content/manuals/*/release-notes.md`, which only matches one segment
after `manuals/`. Pages nested deeper (e.g.
`ai/sandboxes/release-notes.md`) need `**` to match.

Generated by Claude Code

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 11:57:13 +02:00
David Karlsson 93b011aeee sandboxes: add release notes page sourced from GitHub releases
Add content/manuals/ai/sandboxes/release-notes.md as a single page listing
the latest stable releases of Docker Sandboxes, with a link to the GitHub
release history for older versions.

The block between BEGIN/END GENERATED RELEASES markers is populated by
hack/sbx-release-notes.py — a single-file uv-run script (PEP 723 inline
deps, Jinja2 only) that hits the GitHub Releases API for
docker/sbx-releases, filters to strict-semver stable tags with non-empty
bodies, and emits H2-per-release sections for the latest N minor releases
(default 3) and their patches.

Re-runs are idempotent and only touch content between the markers. The
script also invokes `prettier --write` so the output stays lint-clean.

Extend the existing release-notes Vale skip rule with
content/manuals/**/release-notes.md so the new file under ai/sandboxes/
picks up the same lint exclusions as engine/desktop/build release notes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-05-21 11:45:16 +02:00
karman 63fe3b7499 4.73 release note addition (#25125)
Improved handling of transient rename failures due to antivirus
software.

Release note for this PR https://github.com/docker/pinata/pull/40861

Customer reported issue.

<!--Delete sections as needed -->

## Description

<!-- Tell us what you did and why -->

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [x] Editorial review
- [ ] Product review

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2026-05-21 09:49:59 +01:00
David Karlsson 447feb06cc sandboxes: warn against mounting network drives
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 09:30:50 +02:00
Craig Osterhout 7287aa0d5c hub: cdn updates (#25124)
<!--Delete sections as needed -->

## Description

Added release note for new Hub CDN.

## Related issues or tickets

ENGDOCS-3305

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-05-20 16:10:11 -07:00
Greg Mondello 71a913dab0 Fix restricted shortcode rendering on unassociated machines page (#25120)
## Description

The restricted shortcode on the [unassociated machines
page](https://docs.docker.com/unassociated-machines/) renders with a
visible `</span>` tag due to using `{{% %}}` (markdown) delimiters
instead of `{{< >}}` (HTML) delimiters.

The `{{% %}}` delimiter causes Hugo to process the shortcode's HTML
output through the markdown renderer, which escapes the HTML tags from
the icon partial.

## Fix

Switch from `{{% restricted %}}` to `{{< restricted >}}` delimiters.

This matches the pattern used by the similar `experimental` shortcode in
other content files (e.g., `layouts/cli.html`).

## Testing

Before (Prod) | After (Preview)
--- | ---
<img width="1082" height="649" alt="image"
src="https://github.com/user-attachments/assets/6713bf13-ebb0-46c2-8772-247b62afbc6a"
/> | <img width="1075" height="500" alt="image"
src="https://github.com/user-attachments/assets/250933a7-7701-4d3e-aae9-6b3732321edb"
/>

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-20 11:31:23 -07:00
Craig Osterhout 0ed6c96eb6 guides: remove init (#25089)
<!--Delete sections as needed -->

## Description

Removing `docker init` workflow from guides. See ticket for more info.
Instead, have copy-paste codeblocks of the existing output. Added tip to
use Gordon.

## Related issues or tickets

ENGDOCS-3299

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Editorial review

---------

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-05-20 11:25:34 -07:00
Paweł Gronowski 1c7074de53 Merge pull request #25121 from vvoland/update-docker
engine: 29.5.2
2026-05-20 20:01:38 +02:00
Paweł Gronowski e0b8f3da0e engine: 29.5.2
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-05-20 17:27:46 +02:00
carloslemus-hub 18c339a84c Modify Cloudflare Docker Pull/Push entry (#25122)
Updated the description for the Cloudflare Docker Pull/Push entry to not
only be paid palns.

<!--Delete sections as needed -->

## Description

<!-- Tell us what you did and why -->

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2026-05-20 15:53:04 +01:00
Pradumna Saraf f0752e10c7 sbx: clarify sandbox auto-naming in docs (#25074)
## Description

Running `sbx run claude` from `~/my-pro` produces a sandbox named
`claude-my-pro`, but the docs tell you to clean up with `sbx rm
my-sandbox` and never explain where that name came from.

This PR documents the `<agent>-<directory>` and updates examples across
the sandbox docs to use names that match the rule, so the flow lines up
with what users actually see in `sbx ls`.

<img width="1391" height="703" alt="Screenshot 2026-05-16 at 2 48 30 PM"
src="https://github.com/user-attachments/assets/b0357bb5-32ea-48f4-ab5d-8494431e2772"
/>


## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [x] Technical review
- [ ] Editorial review
- [ ] Product review
2026-05-20 14:38:01 +02:00
David Karlsson b7b37e702c docs: link sandbox prerequisites from overview (fixes #25056)
The Sandboxes overview showed quick install commands without pointing to the full platform prerequisites.

Add a prerequisite link before the quick install tabs so it applies to all installation methods.
2026-05-20 13:23:50 +02:00
David Karlsson 70fca0231a Merge pull request #24496 from dvdksn/fix/issue-24476-containerd-layer-dedup
[automated] docs: fix incorrect claim about compressed layer deduplication in containerd image store
2026-05-20 09:50:29 +02:00
David Karlsson 1b712633fe docs: fix incorrect claim about compressed layer deduplication in containerd image store (fixes #24476) 2026-05-20 09:26:59 +02:00
David Karlsson 3bf779827c Fix issue #24010: warn about containerd separate storage path (#24447)
Adds warning about containerd using a separate storage path from the
Docker data directory.

Changes:
- Added IMPORTANT callout in "Disk space usage" section explaining that
containerd uses separate storage
- Warns users with custom data directories that they need to configure
containerd separately
- Links to containerd configuration documentation for data directory
setup

This prevents users from unexpectedly filling their root partition when
they assumed their custom data directory configuration would apply to
containerd.

Fixes #24010

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 08:44:55 +02:00
James Kerrane bd8b8ce7cd Improve style, grammatical fix (#25112)
Improves style, fixes a grammatical issue in `trust-model.md`.
2026-05-20 07:44:08 +01:00