Commit Graph

264 Commits

Author SHA1 Message Date
Craig Osterhout
a960edbd5a dhi: xref guides from manuals (#24506)
<!--Delete sections as needed -->

## Description

Added awareness for DHI guides in the manual via the landing page and
additional resources page.
Tagged guides that use a dhi with the dhi tag.

- https://deploy-preview-24506--docsdocker.netlify.app/dhi/
-
https://deploy-preview-24506--docsdocker.netlify.app/dhi/resources/#guides
- https://deploy-preview-24506--docsdocker.netlify.app/guides/?tags=dhi

## 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-03-24 12:12:20 -07:00
Manuel de la Peña
36d384d2da docs(guides): add two testcontainers intro guides (go and python) (#24450)
## Description

Migrate the first two Testcontainers getting-started guides from
[testcontainers.com/guides](https://testcontainers.com/guides/) into the
Docker docs site:

- **Getting started with Testcontainers for Go** — multi-page guide with
4 chapters (create project, write tests, test suites, run tests). Code
updated to testcontainers-go v0.41.0 API (`postgres.Run()`,
`CleanupContainer`, `BasicWaitStrategies()`).
- **Getting started with Testcontainers for Python** — multi-page guide
with 3 chapters (create project, write tests, run tests). Code updated
to testcontainers-python 4.14.2 (fixed `get_exposed_port()` returning
`int`).

Each guide appears as its own entry in the `/guides/` listing with
proper language and tag filters (`testing-with-docker`). Chapters render
with stepper navigation in the sidebar.

Also adds:
- A `testing-with-docker` tag to `data/tags.yaml`
- A Claude skill
(`.claude/skills/testcontainers-guides-migrator/SKILL.md`) that
documents the repeatable migration process for the remaining 19 guides
- Links from `content/manuals/testcontainers.md` to the new guides
- Vale vocabulary entries for `pgx`, `Micronaut`, `psycopg`, `pytest`

All guide code was compiled and tests verified passing in containers
with Docker socket mounted.

## Related issues or tickets

No related issues found.

## Reviews

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2026-03-23 13:58:19 +00:00
Ajeet Singh Raina, Docker Captain, ARM Innovator
8c5bfcc895 dhi guides: securing a backstage portal using DHI (#24359)
<!--Delete sections as needed -->

## Description

This PR adds a guide that shows how to secure a Backstage developer
portal container using Docker Hardened Images, covering native module
compilation, multi-stage builds, Socket Firewall protection, and
distroless runtime images

<!-- 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-03-17 11:00:31 -07:00
David Karlsson
09b83b246f chore: bump versions in sonarqube sandbox guide
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-03-17 14:15:58 +01:00
David Karlsson
73ad76be71 config: use param for latest cache action version
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-03-17 14:12:13 +01:00
David Karlsson
ec4458ca3a config: use param for latest checkout action version
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-03-17 14:09:37 +01:00
Craig Osterhout
7f71907d36 guides: update rust guide (#24386)
<!--Delete sections as needed -->

## Description

The DHI static image has no adduser package, plus it already runs as a
nonroot user. Removed that section from the Dockerfile.

## Related issues or tickets

Closes #24362

## Reviews

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

- [ ] Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-03-17 09:30:17 +01:00
Ajeet Singh Raina, Docker Captain, ARM Innovator
4952ced478 dhi guides: deploy Docker Hardened Images on OpenShift (#24358)
<!--Delete sections as needed -->

## Description

This guide explains how to deploy Docker Hardened Images in OpenShift
environments. It covers Security Context Constraints (SCCs), arbitrary
user ID assignment, file permission requirements, and best practices for
both runtime and development image variants.


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

Added new guide: content/guides/dhi-openshift.md

## Related issues or tickets


Supersedes #24293 (closed due to fork deletion)

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

## Reviews

<!-- Notes for reviewers here -->


Previously reviewed and approved by @dvdksn in #24293
@craig-osterhout was requested for review before the PR was closed
No content changes from the previously approved version
<!-- List applicable reviews (optionally @tag reviewers) -->
2026-03-16 13:47:05 -07:00
Tiara Johnson
e7e28c4386 Update pricing url with ref and refAction params [GRO-282] (#24339)
## Description
In order to better attribute upgrade sources, we are adding two params -
`ref` and `refAction` to the existing pricing url.
The `ref` will be "Docs" and the `refAction` will be the particular docs
page from where the pricing url click is originated.

## Related issues or tickets
https://docker.atlassian.net/browse/GRO-282

## Reviews
@akristen You should see the new url params when hovering over or
clicking any of the updated pricing urls

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

---------

Co-authored-by: Alexa Kristensen <81787716+akristen@users.noreply.github.com>
2026-03-12 09:12:44 -05:00
Guillaume Tardif
3f9571086e Rename cagent GH repo (#24285)
<!--Delete sections as needed -->

## Description

rename GH cagent repo URL, repo has been renamed to docker/docker-agent

## Reviews

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

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

---------

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2026-03-10 12:03:58 +01:00
David Karlsson
0b0568a5be ai: Disambiguate Docker Agent, Gordon, and Docker Sandboxes
Add AI overview landing page with decision table and relationship overview.
Reframe Gordon as "AI-powered assistant" instead of "AI agent" to avoid
confusion with Docker Agent. Rename sandbox agent page from cagent.md to
docker-agent.md. Add cross-references where products overlap. Fix doubled
"Docker Docker Agent" in agentic AI guide.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-03-06 12:57:33 +01:00
Guillaume Tardif
58df09f05f Update docs to rename cagent => docker agent
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2026-03-04 16:36:11 +01:00
Ajeet Singh Raina, Docker Captain, ARM Innovator
6f39c26e10 Add Docker for AI labs to guides section with Labs tag (#24208)
<!--Delete sections as needed -->

## Description

This PR:

- adds new labs tag to `data/tags.yaml` and
`content/tags/labs/_index.md`
- creates 4 single-page lab guides under content/guides/:

    - lab-agentic-apps.md (7 modules)
    - lab-mcp-gateway.md (7 modules)
    - lab-fine-tuning.md (4 modules)
    - lab-cagent.md (7 modules)


Labs are filterable at `/guides/?tags=labs`

<!-- 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

---------

Co-authored-by: Alexa Kristensen <81787716+akristen@users.noreply.github.com>
2026-02-26 16:31:44 -06:00
David Karlsson
c5b3cb60ad chore: fix links pointing to redirect targets
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-24 08:01:08 +01:00
David Karlsson
70d0c07c69 site: use content adapters for cli reference
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-24 08:01:05 +01:00
David Karlsson
b08475e6ee Merge pull request #24187 from rw4lll/laravel-compose-update-2026-02
Laravel framework guide update
2026-02-22 13:33:14 +01:00
Sergei Shitikov
9230f1bf2c Updated to PHP 8.5 + small fixes and improvements. 2026-02-21 14:17:12 +01:00
MohammadHasan Akbari
7e2af24707 HTTP routing with Traefik: Update guide to include DHI (#23769)
<!--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

---------

Signed-off-by: MohammadHasan Akbari <jarqvi.jarqvi@gmail.com>
2026-02-20 13:22:48 -08:00
Sergei Shitikov
1df3a18c4a Fix status path 2026-02-19 22:07:42 +01:00
Sergei Shitikov
08dc591103 Typo fix in network of production setup guide 2026-02-19 21:39:25 +01:00
Shakirth Anisha
d827401e6f Merge pull request #24108 from shakirth-anisha/ros2_guide
docs: Add guide for running ROS2 with Docker
2026-02-16 14:26:51 +01:00
Brandon Hunt
cf935f3518 Update .NET guide to .NET 10 (#23729)
<!--Delete sections as needed -->

## Description

Errr... I updated the .NET guide to 10. 😆 

## Related issues or tickets

The sample .NET repo has a PR as well -
https://github.com/docker/docker-dotnet-sample/pull/9

## Reviews

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

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2026-02-09 14:25:12 -08:00
luojiyin
9be23c8032 Fix spelling errors across documentation and config files
- seee → see (hub API docs)
- dameon → daemon (release notes)
- plugable → pluggable (release notes)
- adminstrative → administrative (account docs)
- docekr → Docker (opentelemetry guide)
- addFlagLables → addFlagLabels (tensorflowjs guide)
- terrabytes → terabytes (Vale config)
- Dasboard → Dashboard (Vale vocabulary)
- plaform → platform (CLI docs)
- correponds → corresponds (CLI docs)
- digset → digest (buildx docs)

Signed-off-by: luojiyin <luojiyin@hotmail.com>
2026-02-08 13:15:42 +08:00
CrazyMax
3ae207eeea add site param to centralize actions versions
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-02-05 11:24:50 +01:00
Craig Osterhout
a6c720fd1d guides: update agentic guide (#24036)
<!--Delete sections as needed -->

## Description

Removed Offload.
Added tip for cagent.

## 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-01-28 09:11:26 -08:00
Edith Puclla
6d1ccc8c4c docs: Add a section in the Rust guide to use DHI (#23728)
<!--Delete sections as needed -->

## Description

Updated the Rust language guide to include Docker Hardened Images (DHI).

Changes include:
- Added DHI as an option with tab-based layout (Official image /
Hardened image)
- Added a DHI-based Dockerfile example
- Updated build instructions to match docker init behavior
- Added DHI quickstart link in "Related information"

This follows the same structure used in the
[Bun](https://github.com/docker/docs/pull/23565) and
[Ruby](https://github.com/docker/docs/pull/23691) DHI updates.

## Reviews

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

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

---------

Co-authored-by: Craig Osterhout <craig.osterhout@docker.com>
2026-01-28 08:22:17 -08:00
Alexa Kristensen
f61c34a1f6 Initial verification sweep for account sign ups (#24005)
This PR adds minor adjustments to sign up procedures in prerequisite
sections.

* Adding one word `verified` to instances of `Docker account` in
prerequisite sections is a subtle, unobtrusive change that returning,
verified users can gloss over, while still prompting new users to verify
their email if they haven't yet.
* Changes stick to specific instances in `## Prerequisite` sections and
does not add `verified` to every instance (which would be obtrusive).
* Edits to Create Account doc to remove redundant callouts, consolidate
steps for shorter procedures, and add context about verification.
* If an instance of `Docker account` links to /create-account and not
the sign up page, I did not add `verification`.
* **Note**: we may want to consider a direct link to a sign up page
rather than linking them to a create account page. This can be a
separate PR, however.
2026-01-23 09:09:37 -06:00
Kristiyan Velkov
56f8119f53 [feat] update reactjs sample guide to use dhi example (#23821)
## Description

This PR adds a DHI-based Dockerfile example demonstrating how to build
an React.js application using the dhi-node image and serve it through
the dhi-nginx image.

## Reviews

- [x] Technical review
2026-01-13 11:50:39 -08:00
Kristiyan Velkov
548e6cd6ae [feat] update vue.js sample guide to use dhi example (#23822)
## Description

This PR adds a DHI-based Dockerfile example demonstrating how to build
an Vue.js application using the dhi-node image and serve it through the
dhi-nginx image.

## Reviews

- [x] Technical review
2026-01-09 10:52:24 -08:00
Kristiyan Velkov
2edaefd82f [feat] update angular sample guide to use dhi example (#23820)
## Description

This PR adds a DHI-based Dockerfile example demonstrating how to build
an Angular application using the dhi-node image and serve it through the
dhi-nginx image.

## Reviews


- [x] Technical review
2026-01-09 10:44:09 -08:00
Igor Aleksandrov
7d658cda6c Updated Ruby guide to use dhi.io (#23863)
<!--Delete sections as needed -->

* Updated Ruby containerization guide to use dhi.io for hardened images.
* Used abbreviations for hardened images (DHI) and official images (DOI)
to align with official manuals
(https://docs.docker.com/dhi/migration/examples/go/). Optional and can
be changed to a better wording.
* Bumped Ruby version to 3.4.8.

## Reviews

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

- [ ] Technical review
- [x] Editorial review
- [ ] Product review
2026-01-06 13:39:57 -08:00
Melroy van den Berg
6c2aa4e7ca Angular: Change the default Nginx paths to /tmp in Docker Container (#23837)
## Description

In your Angular + Nginx Docker example you are running a non-root user,
but by default Nginx will try to write to directories like
`/var/cache/nginx/`. Which will cause errors like:

```
mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
```

This PR fixes that, and simply changing the default temp path
directories (like you did for the pid file as well) to the `/tmp`
directory. Which will work when using the `nginx` user in Docker. Mainly
`client_body_temp_path` change was needed here, but I would set more
just to be sure.

## Reviews

- [x] Technical review
- [x] Editorial review
- [ ] Product review
2025-12-18 13:54:47 -08:00
Allie Sadler
937744b3a4 subscription: more pricing page links (#23866)
<!--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
2025-12-18 16:46:34 +00:00
Pradumna Saraf
86fdcb4d86 docs: Update Deno containerization guide to reflect new DHI process (#23856)
## Description

Update the Deno containerization guide to reflect the new DHI access
method

## Reviews

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

- [ ] Technical review
- [x] Editorial review
- [ ] Product review
2025-12-18 14:45:16 +01:00
Pradumna Saraf
41d10489f6 docs: Update Bun containerization guide to reflect new DHI process (#23857)
<!--Delete sections as needed -->

## Description

Update the Bun containerization Bun to reflect the new DHI access method

## Reviews

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

- [ ] Technical review
- [x] Editorial review
- [ ] Product review
2025-12-18 14:44:52 +01:00
David Karlsson
ba980d34e9 dhi: remove dhi tag for language guides
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-12-17 14:59:17 +01:00
David Karlsson
824a2d5366 site: add dhi migrations/examples as featured guides
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-12-17 14:07:35 +01:00
David Karlsson
9f49b8d5d6 Merge pull request #23809 from Matra-Master/patch-1
Fix: missing stage name in php-fpm Dockerfile
2025-12-05 14:52:49 +01:00
Fran Carabajal
889c4f11c9 Fix: missing stage name in php-fpm Dockerfile
I simply added the stage name that the compose.prod.yml references for service php-fpm since it was not building when I tried using those fiels.
2025-12-04 12:19:40 -03:00
David Karlsson
0220ef6745 chore: change mount path to work with postgres:18
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-12-04 11:08:14 +01:00
Karan Singh
0314381cdf Fix image paths in Claude Code MCP guide 2025-11-30 01:23:32 +09:00
Justin Veloso
6281818839 fix: resolved typo in databases.md (#23772)
## Description
Fixed a minor typo in the documentation/source file. No functional or
behavioral changes; this is purely a text correction to improve clarity.

## Related issues or tickets
N/A. Just fixed a single typo

## Reviews

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

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2025-11-25 07:34:52 +00:00
David Karlsson
e752319ca3 Merge pull request #23760 from eediallo/fix-cockroachdb-tag
docs(guide): Update CockroachDB setup commands with correct image tag
2025-11-24 11:18:55 +01:00
Karan Singh
3be86cb044 Merge pull request #23733 from karanveersingh5623/guides/claude-code-mcp
guides: add claude-code-mcp user guide
2025-11-24 10:46:47 +01:00
eediallo
5d5c57bdf1 Update CockroachDB version in Go development guide to latest-v25.4 2025-11-22 19:20:16 +00:00
Marco Franzon
693bfc740b Add DHI to the Python guide (#23749)
## Description

Upgraded Python language guide to include DHI-based Dockerfile example.

## Reviews

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

---------

Co-authored-by: Craig Osterhout <103533812+craig-osterhout@users.noreply.github.com>
Co-authored-by: Sarah Sanders <sarah.sanders@docker.com>
2025-11-21 13:52:13 -08:00
Kristiyan Velkov
b11f7a5a52 [feat] Added new documentation for Node.js guide (#23607)
This PR introduces a comprehensive, language-specific guide for
containerizing Node.js applications using Docker, aimed at helping
developers streamline development, testing, and deployment workflows. It
includes hands-on steps and real-world examples to configure CI/CD
pipelines using GitHub Actions, following modern DevOps best practices.

**What’s Included**

- Step-by-step instructions to containerize Node.js applications using
Docker.
- Configuration for a local development environment inside containers
with automatic reloads.
- Guidance on running unit and integration tests within Docker
containers.
- Full CI/CD pipeline setup using GitHub Actions for automated builds,
tests, and deployments.
- Deployment instructions for a local Kubernetes cluster to validate
production readiness.

**Credits**
[Kristiyan Velkov](https://www.linkedin.com/in/kristiyanvelkov/), Docker
Captain.

## Reviews

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

- [x] Technical review
- [x] Editorial review
- [ ] Product review
2025-11-21 10:25:26 -08:00
mjobidon
33a8e642b0 Include installation steps for Ruff in guide
Added installation instructions for Ruff linter.
2025-11-19 22:32:42 -05:00
Michael Irwin
daff897a53 Update Traefik version to work with Docker 29+ (#23746)
## Description

Update the version of Traefik being used to work with Docker Engine v29+
2025-11-19 13:41:57 -08:00
Pradumna Saraf
e21ee9d774 docs: Update Deno guide to include Docker Hardened Images (#23665)
<!--Delete sections as needed -->

## Description

Add a section in the Deno guide to use DHI

## Reviews

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

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

---------

Co-authored-by: Craig Osterhout <craig.osterhout@docker.com>
2025-11-14 11:01:19 -08:00