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

265 Commits

Author SHA1 Message Date
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
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
Chubiyojo Adejoh
21f548fc6a Update ports section in services.md (#22368)
Explicitly state the dangers if a port mapping binds to all interfaces

## Description

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

We recently discovered that docker was bypassing our firewall rules when
forwarding ports from a container using the standard `<host
port>:<container port>` syntax. What this meant was that the container
was effectively visible to the entire internet. It was only after some
digging did we discover that it is possible and even recommended to
explicitly bind the host port to localhost so it doesn't accept
connections from everywhere. This PR updates the docs to explicitly
state the potential dangers of not specifying a localhost when exposing
docker container ports.

## Reviews

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

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2026-04-14 10:55:45 +01:00
Sebastiaan van Stijn
d558d46d14 engine: update API-version matrix and add Minimum API version
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-04-14 10:37:54 +02:00
David Karlsson
cdde205ba8 sandboxes: add sbx documentation
Add full documentation for the sbx CLI sandbox experience including
get-started, usage guide, architecture, agents (claude-code, codex,
copilot, gemini, kiro, opencode, cagent, custom-environments),
security (isolation, credentials, policy, workspace trust),
troubleshooting, and FAQ. Update _index.md as the section landing
page.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-03-31 17:35:01 +02:00
Claude Docs Agent
bf8999ae1b docs: update Engine API version to v1.54, docker CE to v29.3.0 2026-03-24 12:20:12 +01:00
David Karlsson
0f5c795327 Fix issue #24406: correct Docker Hub API documentation (#24443)
Fixes discrepancies in the Docker Hub organization access token API
documentation to match actual API behavior.

Changes:
- Removed `created_by` field from create endpoint response (API only
returns `created_at`)
- Updated scope examples from `repo-pull` to `scope-image-pull` (correct
format with `scope-` prefix)
- Enhanced repository path documentation with validation requirements
for TYPE_REPO resources

These changes align the OpenAPI specification with the actual API
implementation as discovered during Terraform provider development.

Fixes #24406

---------

Co-authored-by: David Karlsson <dvdksn@users.noreply.github.com>
2026-03-20 08:32:39 -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
Sebastiaan van Stijn
a2eb5a8189 engine: slight tweaks to client sdk examples
I noticed that building the examples would produce a client with the
default ("Go-http-client/1.1") User-Agent; this is something to look
into (probably should have a saner default), but regardless, it's
good practice to set your own;

- Update examples to show setting the User-Agent
- Use "log.Fatal" instead of "panic"; both exit the binary, but
  probably are slightly more readable.
- Use the authconfig.Encode utility, which codifies the canonical
  format to encode the JSON, so that users don't have to replicate
  the same format.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-03-11 16:22:17 +01:00
David Karlsson
eb22a5b867 Merge pull request #24182 from derekmisler/rebrand-docker-ai-references-to-gordon-across
Rebrand "Docker AI" references to "Gordon" across docs.docker.com
2026-03-09 17:21:34 +01:00
David Karlsson
2c0dd7e083 chore: update references to docker vscode extension
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-03-09 12:39:05 +01:00
Derek Misler
1bf9cb9c3b Rebrand "Docker AI" references to "Gordon" across docs.docker.com
Signed-off-by: Derek Misler <derek.misler@docker.com>
2026-03-06 11:48:48 -05:00
David Karlsson
cbceafed09 docs: address issue #24163 (#24177)
## Summary
Removed repeated text about path behavior in the Compose Build
Specification documentation.

## Changes
- Consolidated duplicate sentences about absolute/relative path behavior
that appeared in both the "former case" and "latter case" paragraphs
- Improved clarity by explicitly referencing "When `build` is specified
as a string" and "When `build` is specified as a detailed structure"
instead of vague "former/latter" references
- Added a single consolidated paragraph explaining path behavior that
applies to both cases

Fixes #24163

---
🤖 Generated with [cagent](https://github.com/docker/cagent)
2026-02-27 13:22:53 +00:00
Thomas Brüggemann
ca0020e2af Update Docker.DotNet link in C# library section
Fork because of unmaintained orginal repo.
2026-02-25 10:10:15 +01:00
David Karlsson
4899ea2cf1 chore: move cli data files to data subdir
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
d5fd0b2f11 site: simplify base templates
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-23 17:29:32 +01:00
David Karlsson
aac0c7fe14 Merge pull request #24161 from dvdksn/mcp-profiles
MCP profiles
2026-02-23 16:27:26 +01:00
Sebastiaan van Stijn
c00894853f engine: update API version table
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-20 19:11:37 +01:00
David Karlsson
2db1ffab56 wip: vendor: mcp-gateway@v0.39.2 cli reference
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-20 12:10:52 +01:00
David Karlsson
f33d670bfb Merge pull request #24168 from dvdksn/upgrade-hugo-v0.156.0
upgrade hugo v0.156.0
2026-02-20 10:44:16 +01:00
David Karlsson
49d1f65b35 deps: upgrade to hugo v0.156.0 and fix deprecations 2026-02-19 16:09:15 +01:00
David Karlsson
541607aa12 sandboxes: note v0.12 prereq for opencode, shell, multi-workspace
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-19 14:47:53 +01:00
Craig Osterhout
4cae670c4d hub: add deletion note (#24078)
<!--Delete sections as needed -->

## Description

Delete operation may time-out. Hub automatically retries without user
interaction in both the UI and API.

Added notes to make the user aware.

## Related issues or tickets

ENGDOCS-3173

## 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-02-18 14:56:52 -08:00
David Karlsson
e32f9cc592 Merge pull request #24102 from dvdksn/sandboxes-461
sandboxes v0.12.0
2026-02-18 11:05:53 +01:00
Quinn Redwoods
120b064895 docs: clarify depends_on short syntax does not wait for healthy services (#24144)
## Description

Clarifies that the `depends_on` short syntax does not wait for services
to become healthy, and waits only for them to be started (running).

This aligns with the long syntax section, which defines
`service_started` as equivalent to the short syntax, and with the
[Control startup and shutdown
order](https://docs.docker.com/compose/how-tos/startup-order/#control-startup)
manual:

> On startup, Compose does not wait until a container is "ready", only
until it's running.

Confirmed locally that short syntax behaves equivalently to `condition:
service_started`.

## Related issues or tickets

None

## Reviews

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

- [x] Technical review
- [x] Editorial review
- [ ] Product review
2026-02-17 14:57:47 +00:00
Allie Sadler
0e3ce26e55 Desktop: new CLI command (#24063)
<!--Delete sections as needed -->

## Description

Adds docs for new `docker desktop diagnose` command

## 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-02-17 12:40:12 +00:00
David Karlsson
db88a4ec1c sandboxes: vendor v0.12.0 cli reference
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-12 15:11:21 +01:00
github-actions[bot]
f5240e4220 docs: address issue #23308 (#24115)
## Summary
Added documentation for DOCKER_HOST requirement when using Docker SDKs
with Docker Desktop for Linux.

## Changes
- Added "Using Docker SDKs with Docker Desktop" section to Linux install
docs explaining why SDKs need DOCKER_HOST set and providing
configuration commands
- Added FAQ entry "How do I use Docker SDKs with Docker Desktop for
Linux?" with troubleshooting steps
- Added note in SDK reference docs alerting Docker Desktop for Linux
users to set DOCKER_HOST before using SDKs

Fixes #23308

---
🤖 Generated with [cagent](https://github.com/docker/cagent)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aevesdocker <allie.sadler@docker.com>
2026-02-12 11:03:06 +00: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
David Karlsson
bed26cad03 cli: docker sandboxes v0.10.1
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-02 16:37:13 +01:00
David Karlsson
66ff3c700c update sandbox cli ref (#24042)
- **sandboxes: regenerate, vendor cli reference docs**
- **chore: move `docker sandbox create` to a section page**

---------

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-01-30 12:53:35 +01:00
David Karlsson
ae09e522ee build: add stubs for buildx policy commands
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-01-27 15:18:28 +01:00
David Karlsson
79e5749065 Merge pull request #23855 from vvoland/update-docker
engine: 29.2.0
2026-01-27 12:04:53 +01:00
Paweł Gronowski
9d71967f31 api: 1.53
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-01-27 10:46:10 +01:00
David Karlsson
993a94bab5 vendor: docker sandboxes v0.7.1 cli docs
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-01-26 10:38:49 +01:00
Paweł Gronowski
129055470a engine: Update version
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-01-19 14:46:00 +01:00
Paweł Gronowski
28fc8f6d73 engine: Update version
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-01-16 15:04:59 +01:00
David Karlsson
a5938bb3cb Merge pull request #23933 from jarqvi/fix/api-docs-links
Update api docs links
2026-01-07 15:27:06 +01:00
MohammadHasan Akbari
e42100bfe1 chore: update api version in api docs links
Signed-off-by: MohammadHasan Akbari <jarqvi.jarqvi@gmail.com>
2026-01-07 15:47:34 +03:30
Allie Sadler
3415afac40 ENGDOCS-3132 (#23934)
<!--Delete sections as needed -->

## Description

As discussed before xmas, we will be removing opensource release note
pages and pointing users directly to the GitHub page

## 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-01-07 07:13:56 +00:00
MohammadHasan Akbari
1596996ab0 fix: update api docs links
Signed-off-by: MohammadHasan Akbari <jarqvi.jarqvi@gmail.com>
2026-01-06 14:40:53 +03:30
David Karlsson
8d9b9ef1e8 chore: remove deprecated _build frontmatter keyword
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-01-05 08:34:34 +01:00
Paweł Gronowski
eb2beaa0b6 engine: Update version
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-12-12 16:54:01 +01:00
David Karlsson
2bb94837ec Merge pull request #23818 from doringeman/dmr-cli
vendor: github.com/docker/model-cli v1.0.3
2025-12-09 10:02:18 +01:00
Dorin Geman
b6558dd6be vendor: github.com/docker/model-cli v1.0.3
See changes in https://github.com/docker/model-runner/compare/cmd/cli/v0.1.44...cmd/cli/v1.0.3.

Signed-off-by: Dorin Geman <dorin.geman@docker.com>
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-12-09 09:57:56 +01:00
Johannes Großmann
847834562e feat: documentation for docker-pass CLI plugin
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-12-05 12:21:43 +01:00
David Karlsson
64afb7e42d Merge pull request #23800 from dvdksn/update-pgdata-path
chore: change mount path to work with postgres:18
2025-12-04 22:00:51 +01: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
David Karlsson
36a6d2708c Merge pull request #23751 from dvdksn/update-go-sdk-examples
update go sdk examples
2025-12-03 21:52:16 +01:00