1
0
mirror of https://github.com/docker/docs.git synced 2026-10-23 18:09:02 +03:00

53 Commits

Author SHA1 Message Date
Maria Ines Parnisari
90ae3c732f chore: fix random things in latest.yaml 2026-10-20 17:56:12 -07:00
Alexa Kristensen
6232991f54 docs: document a PAT repository scope plus Cloud Sandboxes (#26360)
## Summary

A personal access token can hold one repository scope and Cloud
Sandboxes access (`sandbox:use`). The docs still said each token has one
permission level.

@netlify /security/access-tokens/personal-access-tokens/

Preview:
-
https://deploy-preview-26360--docsdocker.netlify.app/security/access-tokens/personal-access-tokens/
-
https://deploy-preview-26360--docsdocker.netlify.app/security/access-tokens/
-
https://deploy-preview-26360--docsdocker.netlify.app/security/access-tokens/reference/
-
https://deploy-preview-26360--docsdocker.netlify.app/ai/sandboxes-api/authentication/

Generated by Cursor

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 06:55:42 -05:00
David Karlsson
9b1f7de05f docs: unify Hub, DVP, and Registry API references (#26048)
@netlify /reference/api/

[Preview the API
reference](https://deploy-preview-26048--docsdocker.netlify.app/reference/api/)

Adds a shared API reference experience for Hub, DVP, and Registry: a
catalog, operation navigation, linked schemas, request and response
examples, and matching HTML and Markdown output. A validation and
generation pipeline prepares the reference data for Hugo and runs as
part of Docker and Netlify builds.

Migrates the three specifications to OpenAPI 3.2, correcting response
shapes, nullable fields, and authentication and token examples. The Hub
migration also corrects SCIM contracts and CSV exports; DVP gains
complete report response schemas and examples. Registry keeps its
documented Hub-specific subset, with authentication and media
negotiation expressed through OpenAPI security and content fields.

Validation is strict for both checks and generation, with no exception
baseline or bypass flag. The build uses the migrated sources directly,
without migration scripts or records.

Page and specification URLs remain stable, including the DVP alias.
Operation and schema anchors change. Engine and Governance retain their
existing references.

Validated locally with Go tests, strict validation of all three
specifications (zero diagnostics), scoped formatting and lint, and a
full Hugo build checking all 176 HTML/Markdown page pairs, example
parity, reference links, and byte-identical published specifications. A
browser check confirmed raw CSV rendering and the generated request
header. No live API requests were made.
2026-09-17 16:56:32 +02:00
Alexa Kristensen
b744dd3103 docs: restructure Platform accounts, security, and billing IA (#25982)
# To dos

~- Evaluate _index pages and standardize across account + admins
category~
~- Edit weights of topics~
- Notify TSEs, other stakeholders
- TW sign off 

## Summary

This PR restructures the Platform documentation into a clearer Accounts,
Security, and Subscription and billing information architecture, with
aliases so existing URLs keep working.

Work from these PRs was merged into this feature branch:

- #25957 (Security IA)
- #25960 (Accounts and Admin)
- #25981 (Subscription and billing)

### Accounts

- Moves organization, company, and admin content under Accounts.
- Splits individual-account docs into their own subsection.
- Removes the standalone Admin section; those pages now live under
Accounts.

### Security

- Publishes Security at `/security/`, matching other Platform sections.
- Groups authentication (SSO, 2FA, OIDC), access tokens, provisioning,
and roles under Security.
- Leaves Enterprise Hardened Desktop and related enterprise security
docs under Enterprise.
- Restores shipped Hardened Desktop and security FAQ URLs so they match
`main`.

### Subscription and billing

- Merges Subscription and Billing into a single Subscription and billing
section.
- Drops the extra subcategory wrappers and nests billing tasks under
Manage.
- Shortens the billing details sidebar label.

### FAQs

- Consolidates Platform FAQs onto four pages: Accounts, Security,
Subscription and billing, and Platform.
- Folds leftover general, container, and network/VM security FAQs into
Platform FAQs.
- Folds SSO enforcement FAQs into the SSO FAQ.
- Templates FAQ pages with H2 topics and H3 questions, and limits the
table of contents to H2.

### Navigation and follow-ups

- Renames the manuals sidebar group from Platform to Accounts and admin,
and updates the manuals landing heading and copy to match.
- Fixes the MSI install Settings Management link after the security path
move.
- Updates CODEOWNERS, the labeler, and in-repo links to the new paths.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 09:26:12 -07:00
Alexa Kristensen
ec568fb193 docs: document Hub API custom role assignment for members and teams (#25996)
## Summary
- Document that member `PUT` `role` accepts a custom role **name**, not
only `owner` | `editor` | `member`.
- Document `role` on team `PATCH` (core or custom role name) and on
`org_group` so the PATCH 200 can include the assigned role.
- Add `Editor` to `org_member.role` (title case). Live responses already
return it; the old enum was Owner / Member / Invitee only.

## Test plan
PM must confirm before merge:

- [ ] Member PUT 200: after assigning a custom role (body is not the
previous core role), is `role` still a core value (`Owner` / `Editor` /
`Member`), or is it the custom role **name**? If it is the custom name,
drop the `org_member.role` enum in a follow-up and describe a string
(core or custom name). If it stays a core value, this PR's enum (`Owner`
| `Editor` | `Member` | `Invitee`) is enough.
- [ ] List members: same field. Confirm a user with a custom role lists
as a core value vs the custom name.
- [ ] Casing: request stays lowercase (`editor`); response stays title
case (`Editor`). Confirm that split is real.
- [ ] Team PATCH 200: confirm `org_group.role` is present and is the
value just set (core or custom name).
- [ ] Team assignment is PATCH-only, not PUT.
- [ ] Unknown role names return an error; do not document them as valid.
- [ ] Custom role **name** (not label or UUID) is the request
identifier, matching Docker Home.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 09:30:37 -05:00
Vincent DAMERY
418c944682 docs(oat): document Hub API endpoint OAT support for repos-new (#25835)
## Summary

Documents which Docker Hub API endpoints accept org access token (OAT)
authentication, and the scope-dependent listing behavior for repository
listing.

### Changes

- **`content/reference/api/hub/latest.yaml`**: Added `<span
class="oat"></span>` markers to 11 repository endpoint groups under
`/v2/namespaces/{namespace}/repositories/`. Includes a note on
scope-based listing behavior for `GET
/v2/namespaces/{namespace}/repositories`.
- **`content/manuals/enterprise/security/access-tokens.md`**: New "Hub
API support" section covering supported endpoint categories and the
`scope-repository-list` listing behavior.

### OAT listing behavior

`GET /v2/namespaces/{namespace}/repositories`:
- OAT **with** `scope-repository-list` → returns all repos including
private
- OAT **without** that scope → returns only public repos

## Test plan

- [ ] Preview site renders `<span class="oat">` badge on repo endpoints
- [ ] Hub API support section appears correctly in access-tokens manual
page
- [ ] Listing behavior note is clear and accurate

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Alexa Kristensen <81787716+akristen@users.noreply.github.com>
2026-08-28 08:55:59 -05:00
Craig Osterhout
37fab0f3f7 offload: update activity log (#25268)
<!--Delete sections as needed -->

## Description

- Added note to Offload Activity logs page about the username and
details being displayed. Note that `user_id` and `org_id` is not
currently displayed in the event description/details.
- Added example to API docs showing what data is returned for Offload.
We don't currently document the data for all the event types, so I
avoided doing it inconsistently for Offload and instead opted to add it
as an example.

Previews:
-
https://deploy-preview-25268--docsdocker.netlify.app/admin/activity-logs/#offload-events
-
https://deploy-preview-25268--docsdocker.netlify.app/reference/api/hub/latest/#tag/audit-logs/operation/AuditLogs_ListAuditLogs

UI reference:
<img width="1617" height="678" alt="image"
src="https://github.com/user-attachments/assets/30a7cb6c-c6ea-43fc-981c-2856080ab9d2"
/>


## Related issues or tickets

ENGDOCS-3312

## 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-06-08 11:30:18 -07:00
Alexa Kristensen
26ea39ec33 Agent redirect skill and small admin > company reorg (#24856)
This PR captures a small chunk of work intended to test a new agent
skill for handling redirect aliases, link references, and link anchors.
2026-04-24 07:50:35 -05:00
Alexa Kristensen
3619fb1780 Admin IA refresh (#24852)
PR to capture work:

- Update / simplify titles to match docs
- Create subcategories within org/company
- Wrestle with redirect nightmare part 2

Filing a follow up PR to create parallel structure in the `Company`
subcategory. This PR's scope is for `Organization` only.
2026-04-23 07:30:04 -05: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
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
Josh
51795e35d2 feat: Add expires_at to PAT management (#23754)
<!--Delete sections as needed -->

## Description

- feat: Add expiry fields to PAT management API endpoints.

## Reviews

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

- [x] Technical review
- [ ] Editorial review
- [ ] Product review
2025-11-24 09:30:18 +00:00
Nick Adcock
962c42c50b Add Offload activity log events (#23716)
<!--Delete sections as needed -->

## Description

Adds the Offload activity log events to the activity-logs documentation.
Adds all activity log actions to the audit-logs API spec.

## 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: Nick Adcock <nick.adcock@docker.com>
2025-11-13 12:09:40 -08:00
Vincent DAMERY
fb5a0b304d [docker-hub-api] Fix Assign repository group endpoints req/resp (#23453)
<!--Delete sections as needed -->

## Description

[docker-hub-api] Fix `Assign repository group` endpoints
request/response.

see https://github.com/docker/hub-feedback/issues/2495

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

- [x] Technical review
- [ ] Editorial review
- [ ] Product review
2025-09-25 09:46:05 -04:00
JPBotelho
2c0d6fd792 fix: typos (#23435)
<!--Delete sections as needed -->

## Description

Fixed typos

## 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-09-19 16:05:53 -07:00
Vincent DAMERY
479e7dcf5c [docker-hub-api] Add Create, Get, Head repository endpoint (#23428)
<!--Delete sections as needed -->

## Description

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

Add `Create repository` endpoint

## Related issues or tickets

<!-- 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
2025-09-19 10:27:11 -04:00
Vincent DAMERY
420e0b8796 [docker-hub-api] Fix listNamespaceRepositories max page_size : 1000 -> 100 (#23201)
<!--Delete sections as needed -->

## Description

[docker-hub-api] Fix listNamespaceRepositories max `page_size` : 1000 ->
100

## Related issues or tickets

https://github.com/docker/docs/issues/23199

## Reviews

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

- [x] Technical review
- [ ] Editorial review
- [ ] Product review
2025-08-05 16:11:09 +02:00
Vincent DAMERY
188949b60b [docker-hub-api] Add repository immutable tags endpoints to update settings and validate regex before update (#23179)
<!--Delete sections as needed -->

## Description

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

[docker-hub-api] Add repository immutable tags endpoints to update
settings and validate regex before update.

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->
- https://docker.atlassian.net/browse/RG-3017
- https://docker.atlassian.net/browse/RG-3018

## Reviews

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

- [x] Technical review
- [ ] Editorial review
- [ ] Product review
2025-08-04 09:38:44 +01:00
Allie Sadler
d4ce08a39c enterprise: move content (#23100)
<!--Delete sections as needed -->

## Description

Part of https://docker.atlassian.net/browse/ENGDOCS-2836

## 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-07-18 07:49:29 +01:00
Vincent DAMERY
c69c0b53dd [docker-hub-api] add list namespace repositories endpoint (#22934)
<!--Delete sections as needed -->

## Description

- Add "new" list repositories in a given namespace endpoint : `GET
/v2/namespaces/{namespace}/repositories`

---
After the comments from @thaJeztah 
- Split DVP Data API and Docker Hub API for better visiblity
- Standardize sub entries in the side menu : Changelog, Deprecated and
OpenAPI
- Deprecated is now a table like in
https://docs.docker.com/engine/deprecated/

## Related issues or tickets

- https://github.com/docker/hub-feedback/issues/2357

## Reviews

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

- [x] Technical review
- [ ] Editorial review
- [ ] Product review
2025-07-15 08:46:14 -07:00
Gurleen Sethi
bd60c50186 Add doc for creating OATs with public access (#22948)
<!--Delete sections as needed -->

## Description

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

## Related issues or tickets

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

https://docker.atlassian.net/browse/IAM-1301

## Reviews

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

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2025-07-02 10:44:31 -04:00
Nick Santos
46d76ecc93 api: fix retry-after header docs
Fixes https://github.com/docker/hub-feedback/issues/2459
2025-06-25 09:23:06 -04:00
Sarah Sanders
677533d169 Merge pull request #22775 from sarahsanders-docker/billing-remove-plan
chore: remove plan from docs
2025-06-06 09:24:17 -04:00
sheltongraves
6f45356dde Update latest.yaml to add group repo access (#22369)
Adding API documentation for assign a group (Team) to a repository for
access

<!--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: Sarah Sanders <sarah.sanders@docker.com>
2025-04-08 14:03:55 -04:00
Gurleen Sethi
325b03fd85 Merge pull request #22279 from gurleensethi-docker/feat/oats_apis
Add public OATs (Organization Access Token) APIs
2025-03-24 13:04:17 -04:00
Josh Newman
db966f2550 Update wording for changelog 2025-03-18 08:27:46 -06:00
Josh Newman
0b82b808e1 Reorder nav 2025-03-18 08:26:01 -06:00
Josh Newman
f46fe9efe8 Add changelog with nav improvments 2025-03-18 00:52:41 -06:00
Josh Newman
ce41c7b9fe Add oat tag for audit logs 2025-03-18 00:52:26 -06:00
Josh
9b28dc7ade Improve some API docs and add members fields (#22237)
<!--Delete sections as needed -->

## Description

- Adds missing information for org members calls.
- Improves some areas of the docs.

## Reviews

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

- [x] Technical review
- [x] Editorial review
- [ ] Product review
2025-03-17 09:18:57 -04:00
Gurleen Sethi
9045df8e64 Merge pull request #22124 from gurleensethi-docker/feat/pat_expiration_doc
Document `expires_at` field for PAT creation
2025-02-27 16:49:17 -05:00
Josh
fdfb1614c3 Improve auth docs and add oat tags for use (#22045)
<!--Delete sections as needed -->

## Description

This improves our authentication docs in our API. Additionally, we need
to note on certain routes where OAT bearers are allowed.

## Related issues or tickets

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

## Reviews

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

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

---------

Co-authored-by: Sarah Sanders <sarah.sanders@docker.com>
2025-02-18 15:05:44 -05:00
Josh
64dfe010e1 Update content/reference/api/hub/latest.yaml
Co-authored-by: Sarah Sanders <sarah.sanders@docker.com>
2025-02-12 12:18:27 -07:00
Josh
cef2f9fa18 Update content/reference/api/hub/latest.yaml
Co-authored-by: Sarah Sanders <sarah.sanders@docker.com>
2025-02-12 12:18:20 -07:00
Josh
86840f5777 Update content/reference/api/hub/latest.yaml
Co-authored-by: Sarah Sanders <sarah.sanders@docker.com>
2025-02-12 12:18:12 -07:00
Josh Newman
5ca0de5516 Add new auth token docs 2025-02-10 16:04:32 -07:00
Craig Osterhout
cd6b6e66f0 hub: usage refresh (#21782)
<!--Delete sections as needed -->

## Description

Refreshed the usage and limits topic for Docker Hub.

https://deploy-preview-21782--docsdocker.netlify.app/docker-hub/usage/

https://deploy-preview-21782--docsdocker.netlify.app/docker-hub/usage/pulls/

https://deploy-preview-21782--docsdocker.netlify.app/docker-hub/usage/storage/

https://deploy-preview-21782--docsdocker.netlify.app/docker-hub/usage/manage/

## Related issues or tickets

ENGDOCS-2361

## Reviews

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

- [ ] Editorial review

---------

Signed-off-by: Craig <craig.osterhout@docker.com>
Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2025-01-21 08:25:38 -08:00
Josh
027ed6fb59 Merge pull request #21615 from ivan-californias/iam-842-org-mgmt-api
hub-api: add org management api specs
2024-12-16 10:27:23 -07:00
Josh Newman
9d9bad97db Put groups above invites 2024-12-14 10:56:30 -07:00
Josh Newman
a5b2315656 Add missing groups 2024-12-13 11:58:19 -07:00
Josh Newman
8a90175c10 Fix wording 2024-12-12 12:01:45 -07:00
Josh Newman
9d2a4e47e0 Fix link 2024-12-12 12:00:40 -07:00
Josh Newman
764b0112e7 Remove duplicate tag 2024-12-12 11:57:06 -07:00
Josh Newman
750179cad2 Add missing tags 2024-12-12 11:52:30 -07:00
Ivan Californias
c5c48fa22d hub-api: add org management api specs 2024-12-11 22:29:25 -06:00
Benjamin Grandfond
19b816a7f3 Specify that there might be multiple files in the DVP namespace data retrieval endpoint 2024-11-29 22:49:50 +01:00
David Karlsson
ac73249bf9 site: remove target=_blank
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-31 15:46:19 +01:00
Craig
945e7be674 remove postman ref from api
Signed-off-by: Craig <craig.osterhout@docker.com>
2024-10-29 15:31:48 -07:00
Josh
402a776664 Add auth docs for sso enforced (#20960)
* Add auth docs for sso enforced

* Revert rename
2024-09-24 20:33:54 +02:00