1
0
mirror of https://github.com/docker/docs.git synced 2026-10-25 06:09:46 +03:00
Commit Graph

66698 Commits

Author SHA1 Message Date
dependabot[bot]
89e1d00ccf build(deps): bump actions/github-script from 8.0.0 to 9.0.0
Bumps [actions/github-script](https://github.com/actions/github-script) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](ed597411d8...3a2844b7e9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-23 06:11:38 +00:00
David Karlsson
dfca04d22f Merge pull request #24860 from craig-osterhout/stale-workflow-update
stale-workflow: switch off debug
2026-04-23 08:10:30 +02:00
Craig Osterhout
73b24c4c16 stale-workflow: switch off debug
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-04-22 13:07:03 -07:00
Craig Osterhout
490c49a7fa dhi: add bulk customization (#24850)
<!--Delete sections as needed -->

## Description

Added bulk customization for UI.

## Related issues or tickets

ENGDOCS-3234

## 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-04-22 08:51:49 -07:00
Allie Sadler
cb207912e0 diagnose fix (#24855)
<!--Delete sections as needed -->

## Description

closes https://github.com/docker/docs/issues/24854

## 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-04-22 09:30:04 +02:00
David Karlsson
53314a8ba0 Merge pull request #24849 from dvdksn/sbx-rm-template-iid
sbx: sbx template rm [id]
2026-04-22 06:07:04 +02:00
Rohan Santhosh Kumar
30bff340bc docs: fix freshness prompt spelling (#24841)
## Description
- fix the "readability" spelling in the freshness tier 2 prompt

## Related issues or tickets
- N/A (trivial docs typo fix)

## Reviews
- N/A
- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

## Validation
- Ran `git diff --check`

Co-authored-by: Codex <codex@openai.com>
2026-04-21 13:32:48 -07:00
Craig Osterhout
01baa63ca6 add stale workflow (#24681)
<!--Delete sections as needed -->

## Description

This PR adds a GitHub Actions workflow to automatically mark and close
stale issues and PRs, helping maintainers focus on active items. The old
app/bot stopped working around mid 2025 and was disabled. This
reimplements it using a GitHub Action with additional slash command
functionality.

### Timeframes

- **Mark as stale**: After **180 days** (6 months) of inactivity
- **Close stale issues**: After **14 additional days** of no activity
- **Close stale PRs**: After **30 additional days** of no activity

### Exempt Labels

Issues and PRs with any of these labels will never be marked as stale:
- `kind/help-wanted`
- `status/need-more-info`
- `status/needs-analysis`
- `lifecycle/frozen`

### How to Keep Issues/PRs Active

To prevent an issue or PR from being marked as stale or closed:

**Anyone can:**
1. **Add a comment** - any comment resets the inactivity timer
2. **Use `/lifecycle active`** - removes the stale label via slash
command

**Maintainers can also:**
3. **Use `/lifecycle frozen`** - prevents the issue/PR from ever being
marked stale
4. **Add exempt labels** - manually apply one of the labels listed above
5. **Make any update** - editing the description, adding labels, or any
activity resets the timer

### Slash Commands

The workflow supports these lifecycle commands (comment them on any
issue/PR):

| Command | Access | Description |
|---------|--------|-------------|
| `/lifecycle active` | Anyone | Removes the stale label |
| `/lifecycle frozen` | Write access required | Prevents stale marking |
| `/lifecycle stale` | Write access required | Manually marks as stale |
| `/remove-lifecycle frozen` | Write access required | Removes frozen
label |
| `/remove-lifecycle stale` | Anyone | Removes stale label |

Commands respond with a 👍 reaction when successful, 👎 when permission is
denied.

### Messages

When marked as stale, issues and PRs receive a friendly comment
explaining:
- The situation and timeline for closure (14-30 days)
- How to remove the stale label using `/lifecycle active`
- How maintainers can freeze with `/lifecycle frozen`

### Debug Mode

The workflow is currently set to **debug mode** for both components:

**Stale action** (`debug-only: true`):
- ✅ Runs and logs what actions it would take
- ❌ No actual changes will be made (no labels, comments, or closures)

**Lifecycle commands** (`DEBUG_ONLY: 'true'`):
- ✅ Logs what would happen when slash commands are used
- ❌ No labels added, removed, or permission checks enforced

## Related issues

- #19050

---------

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-04-21 11:23:24 -07:00
Niels Kaspers
53014a8163 docs(scout): standardize CLI command to docker scout in CI guides (#24844)
## Summary
Standardize the Docker Scout CLI command on `docker scout` (with space)
across the CircleCI and Jenkins integration guides so it matches the
format used in `azure.md`, `gitlab.md`, and the rest of the Scout docs
(`install.md`, `quickstart.md`, `gha.md`).

## Issue
Fixes #24843

## Changes
- `content/manuals/scout/integrations/ci/circle-ci.md`: change
`docker-scout cves …` to `docker scout cves …`
- `content/manuals/scout/integrations/ci/jenkins.md`: change
`docker-scout cves …` to `docker scout cves …`

Other references to `docker-scout` that are not CLI invocations (the
binary filename in `install.md`, the GitHub Action step `id:
docker-scout` in `gha.md`, external URLs, and Azure resource names) are
intentionally left unchanged.

## Testing
- Docs-only change. Diff is two lines, no content rewrites.

Signed-off-by: Niels Kaspers <kaspersniels@gmail.com>
2026-04-21 09:51:55 -07:00
David Karlsson
4da24a0a46 sbx: sbx template rm [id]
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-04-21 16:33:39 +02:00
David Karlsson
017751456c Merge pull request #24831 from dvdksn/isitagentready
Improve agent/LLM discoverability of the docs site
2026-04-21 10:11:01 +02:00
David Karlsson
12124ee595 Merge pull request #24759 from dvdksn/sbx/factory-ai
sbx: add factory-ai (droid) agent
2026-04-21 10:06:39 +02:00
Alexa Kristensen
e085c75fa5 remove requires line from summary.yaml (#24839)
Updating SSO requires line
2026-04-21 08:04:29 +01:00
Allie Sadler
fec17b6a56 ENGDOCS-3240 (#24830)
<!--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-04-21 07:41:56 +01:00
Sebastiaan van Stijn
0ef8955d81 Merge pull request #24833 from vvoland/update-docker
engine: 29.4.1
2026-04-20 20:00:56 +02:00
dmitry-bychkov
aca1dd86d7 Update Dockerfile code snippet for "Using the official Docker image" tab (#24820)
The code snippet for Dockerfile under the "Using the official Docker
images" contains a comment which says that this Docker file uses DHI
image, which is incorrect.

<!--Delete sections as needed -->

Updated the code snippet to match the tab contents 

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

## Reviews

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

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2026-04-20 10:54:34 -07:00
Louis-Arnaud
6be4c12b27 docs: clarify DHI build auth requirement context (#24835)
Fixes #24818.

The `[!IMPORTANT]` callout at the top of
`content/manuals/dhi/how-to/build.md` read:

> You must authenticate to the Docker Hardened Images registry
(`dhi.io`) to pull base images and build tools. [...]

Phrased that way it reads as if any Dockerfile using a DHI base image
(e.g. `FROM dhi.io/python:3.13`) needs a special authentication step
specific to the build page. The real reason is scoped: the DHI build
frontend itself pulls from `dhi.io` when processing a YAML definition
file.

Rewritten to tie the requirement explicitly to the DHI build system and
to the act of building a definition file, so readers don't extrapolate
the requirement to unrelated Dockerfile usage. Wording around the Docker
ID credentials is preserved.
2026-04-20 10:48:54 -07:00
Louis-Arnaud
0194389f36 docs: clarify OCI artifact ordering in DHI customize Docker Hub flow (#24836)
Fixes #24819.

In `content/manuals/dhi/how-to/customize.md` the Docker Hub tab jumped
from "select the repository / select the tag" straight to "images later
in the list will overwrite files from earlier images" without first
establishing that multiple OCI artifacts can be added or how their
ordering is determined in the UI. Readers understood the consequence but
not the mechanism.

Adds one short paragraph before the overwrite rule to anchor the reader:

- multiple OCI artifacts can be added to a single customization,
- they're applied in the order they're added in the **OCI artifacts**
drop-down.

The overwrite rule is rephrased to:

- refer to "images added later / images added earlier" for consistency
with the new paragraph,
- use "If multiple images contain directories or files with the same
path" (the rule applies to any N≥2, not just two),
- use "directories or files" instead of the existing "directories and
files", which could be read as requiring both types in the same artifact
for the rule to apply.

No change to the subsequent paragraphs about include/exclude paths.
2026-04-20 10:41:54 -07:00
Paweł Gronowski
20456cf954 engine: 29.4.1
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-04-20 18:50:00 +02:00
Louis-Arnaud
f90409007b docs: align DHI Python migration example auth note with Go and Node (#24834)
Fixes #24743.

The authentication note at the top of
`content/manuals/dhi/migration/examples/python.md` was the stripped-down
version, missing:

- the indication that `docker login dhi.io` expects Docker ID
credentials
- the detail that those are the same credentials as Docker Hub
- the link to the account creation page

The equivalent notes in `go.md` (lines 24-29) and `node.md` (lines
24-29) carry all three. This PR copies the full paragraph into
`python.md` so Python readers get the same onboarding guidance.

No other content changed.
2026-04-20 09:17:05 -07:00
David Karlsson
f2eccfe389 sbx: add droid agent
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-04-20 17:28:32 +02:00
Alexa Kristensen
4c4c51b013 fast follows (#24832)
Fast follow ups:

- Returned aliases with new alias to one doc
- Updated provision index page to accurately reflect different methods
- reorganized table to reflect popularity of methods based off sme info
(scim is the vogue, then JIT, then auto provision)
  - Updated grid to link correctly to auto provisioning doc
- Created more opinionated left nav to reflect recommendations around
security SCIM > JIT > auto
- Fixed `*`s to be `-`s
- Updated Migrate doc heading levels
2026-04-20 10:16:44 -05:00
David Karlsson
60fdb3cbfe Merge pull request #24746 from dvdksn/docs/sbx-linux-state-paths
Add Linux state paths to troubleshooting
2026-04-20 16:12:26 +02:00
Allie Sadler
1acfdfcad1 4.70 RN (#24717)
<!--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

---------

Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-04-20 14:53:47 +01:00
Louis-Arnaud
1043de9461 engine/install: document iptables alternative on Fedora (#24811)
Adds a troubleshooting note on the Fedora install page for the case
where the Docker service fails to start with `failed to find iptables`
in the logs, pointing users to set the `iptables` alternative to
`iptables-nft`.

Closes #23186
2026-04-20 15:49:00 +02:00
Mahitha Adapa
1ad73ff812 Add network_mode: bridge to Compose file reference (#24749)
<!--Delete sections as needed -->

## Description

Adds documentation for `network_mode: bridge` in the Compose file
reference.

While `bridge` is a valid and functional network_mode option that
connects
containers to the host's default bridge network, it was not documented
alongside the other options (none, host, service, container).

Fixes #24742.

- #24742

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

## Reviews

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

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

---------

Signed-off-by: Mahitha Adapa <mahitha.ada@gmail.com>
Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2026-04-20 14:48:44 +01:00
David Karlsson
1c05501498 Merge pull request #24815 from lacatoire/fix/issue-21898-json-file-compress-default
engine/logging: fix json-file compress default value
2026-04-20 15:47:24 +02:00
Alexa Kristensen
6d61abd2a8 SCIM jit edits (#24600)
just a lot of stuff that got out of hand idk. it started out as a nice
reorg of provision and turned into a nightmare of my own making
2026-04-20 08:44:44 -05:00
David Karlsson
1ce5a295ef Merge pull request #24825 from Rohan5commit/docs/reuse-container-name-20260420
docs: replace "re-use" with "reuse" in links guide
2026-04-20 15:44:32 +02:00
David Karlsson
63be81fadd Advertise the Docker docs MCP server
Publish an MCP Server Card at /.well-known/mcp/server-card.json
pointing at https://mcp-docs.docker.com/mcp, so agents doing MCP
discovery can find the official Docker docs endpoint. Mirror the
serverInfo and capabilities reported by the server's initialize
response.

Also add a one-line pointer near the top of llms.txt so LLMs fetching
the index learn about the structured-access alternative.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-20 15:38:34 +02:00
Mohith shuka
92194c26c9 Fixes https://github.com/docker/docs/issues/23958 (#24393)
The `security_opt` field in the Compose services reference did not
document
the accepted syntax variants, which was confusing for users.

Added a note explaining that options accept `option=value`,
`option:value`,
or bare `option` syntax (for booleans). Added examples showing all three
equivalent forms for `no-new-privileges`.
2026-04-20 14:35:37 +01:00
David Karlsson
bca4905aef Declare AI content usage preferences in robots.txt
Add Content-Signal directive opting in to AI training, search indexing,
and AI input (RAG/grounding). Docker's official docs benefit from wide
distribution through AI assistants, so permitting training and grounding
is aligned with the site's purpose.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-20 15:32:47 +02:00
David Karlsson
c0bb56e6af Fix homepage markdown content negotiation
The CloudFront Lambda rewrote `/` with `Accept: text/markdown` to an
invalid `.md` URI, causing a 502 LambdaValidationError. Homepage has no
flattened markdown equivalent, so route to `/llms.txt` — the
agent-oriented markdown index of the site. Same handling for
`/index.html`.

Also set `Content-Type: text/markdown` on `llms.txt` at upload time, so
content negotiation responses and direct requests both advertise the
correct media type.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-20 15:29:41 +02:00
Lorena Rangel
f90b2db317 Fix script injection in release notes PR trigger workflow (#24828)
## Description

The `release-notes-pr-trigger` workflow was interpolating PR context
values
(`html_url`, `title`, `user.login`) directly into a shell heredoc. A
specially crafted PR title or author name could break out of the JSON
string
and execute arbitrary commands.

This change moves the GitHub context values into environment variables
and
uses `jq` to safely construct the JSON artifact, eliminating the
injection
vector.

## Related issues or tickets

None

## Reviews

- [x] Technical review

Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2026-04-20 09:58:58 +01:00
Ülgen Sarıkavak
dc797765c6 Fix "docker model" links in the changelog (#24823)
<!--Delete sections as needed -->

## Description

Replaces docker-cli links with docker-model for >0.1.42

- [ ] Technical review
- [x] Editorial review
- [ ] Product review
2026-04-20 08:37:18 +01:00
Codex
b7883153ea docs: replace "re-use" with "reuse" in links guide 2026-04-20 10:53:05 +08:00
Alexa Kristensen
d1319572a5 clarify roles permissions (#24813)
Docs request from channel
2026-04-17 15:57:59 -05:00
Louis-Arnaud Catoire
e8935dfc53 review: clarify default with (no compression) to match max-size pattern 2026-04-17 22:24:03 +02:00
Louis-Arnaud Catoire
d559d1c915 engine/logging: fix json-file compress default value
The option is parsed as a boolean by strconv.ParseBool, so 'disabled'
wasn't a valid value and misled readers. Align the default with the
in-file convention used by max-size and max-file.

Closes #21898
2026-04-17 22:19:44 +02:00
Leo
2845195213 Offload: Add stable redirects to offload idle behaviour docs (#24760)
<!--Delete sections as needed -->

## Description

Adds stable links for explaining the Docker Offload idle behaviours. 

## Related issues or tickets

DCL-1717

## Reviews

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

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2026-04-17 08:01:48 -07:00
David Karlsson
375ab48f7b vendor: github.com/docker/model-runner v1.1.36 (#24757)
## Description

Update Model Runner CLI docs.
See changes in
https://github.com/docker/model-runner/compare/v1.1.35...v1.1.36.

```
VENDOR_MODULE=github.com/docker/model-runner@v1.1.36 make vendor
```

## Reviews

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

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

Co-authored-by: ilopezluna <1451887+ilopezluna@users.noreply.github.com>
2026-04-17 13:21:17 +02:00
Craig Osterhout
fd27751cae dhi: update addtional resources and scanner integration (#24751)
<!--Delete sections as needed -->

## Description

- Added new blogs and terraform repo to additional resources
- Added mend.io integration

Notable topics in preview:
-
https://deploy-preview-24751--docsdocker.netlify.app/dhi/explore/scanner-integrations/
-
https://deploy-preview-24751--docsdocker.netlify.app/dhi/how-to/scan/#mendio
- https://deploy-preview-24751--docsdocker.netlify.app/dhi/resources/


## Related issues or tickets

ENGDOCS-3236

## 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-04-17 10:25:25 +01:00
Craig Osterhout
f04e03ea59 dhi: update badges (#24753)
<!--Delete sections as needed -->

## Description

- Remove tier badges from all DHI topics except `/dhi/features/` since
the summary bar already conveys subscription tier info
- Update tier badges in `/dhi/features/` from `&` to `or` to match the
prose and clarify that either DHI Select or Enterprise provides the
feature
- Add summary bars to sections in `cli.md` and `hardened-packages.md`
that previously only had badges
- Add new `Docker Hardened Images Enterprise` summary bar variant for
Enterprise-only sections

## Related issues or tickets

Closes #24732

## Reviews

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

- [ ] Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-04-17 10:24:31 +01:00
David Karlsson
3e7bc53b5b Clarify sandbox networking, env sourcing, and approval defaults (#24745)
## Summary

- Clarify that `/etc/sandbox-persistent.sh` is sourced when bash runs
inside
  the sandbox, but not when `sbx exec <name> <command>` runs a command
  directly without a shell. Add a `bash -c` workaround.
  (Related: docker/sbx-releases#53)
- Add FAQ entry explaining why agents run without approval prompts (the
  sandbox is the safety boundary) and how to re-enable them: change the
  permission mode inside the session, or build a custom template.
  (Related: docker/sbx-releases#47)
- Add a note to the network policy page and a troubleshooting entry
making
  it explicit that SSH and other non-HTTP protocols are always blocked,
  regardless of allow rules. (Related: docker/sbx-releases#46)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 10:22:57 +01:00
David Karlsson
b266800a93 sbx: add diagnose command (#24758)
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>

---------

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 10:21:42 +01:00
David Karlsson
c953aeeb6a Merge pull request #24734 from dvdksn/fix/sbx-save-load-docs
docs: add sbx save/load snapshot workflow to custom environments
2026-04-17 10:51:04 +02:00
ilopezluna
40fa771d84 vendor: github.com/docker/model-runner v1.1.36
See changes in https://github.com/docker/model-runner/compare/v1.1.35...v1.1.36.
2026-04-17 08:22:30 +00:00
David Karlsson
f74276197a Merge pull request #24752 from derekmisler/auto/update-cagent-action
chore: update cagent-action to v1.4.1
2026-04-17 10:03:06 +02:00
David Karlsson
635e5fff50 Merge pull request #24747 from dvdksn/fix-blueprint-callout
sbx: remove blueprint callout in default security posture
2026-04-17 09:40:17 +02:00
Derek Misler
cc70869537 Merge branch 'main' into auto/update-cagent-action 2026-04-16 16:06:58 -04:00