Skip to content

dhi: refresh mirror & customize#24616

Open
craig-osterhout wants to merge 3 commits intodocker:mainfrom
craig-osterhout:engdocs-3222-2
Open

dhi: refresh mirror & customize#24616
craig-osterhout wants to merge 3 commits intodocker:mainfrom
craig-osterhout:engdocs-3222-2

Conversation

@craig-osterhout
Copy link
Copy Markdown
Contributor

@craig-osterhout craig-osterhout commented Apr 2, 2026

Description

Refreshing and reducing left nav sprawl.

  • Removed management topic. It's not a standalone use-case. The use-case is managing mirrored and customized repos, so moved the info into those topics to reduce left nav sprawl.

  • For Mirror and Customize:

    • Moved Hub and CLI workflows to tabs.
    • Added additional related CLI commands in order to eventually remove the standalone CLI topic.
    • Added necessary token (pat/oat) support/scoping for mirroring and customization
  • Moved the how to use an oat with oras out of the mirror topic and into the use topic in the ci/cd section. OATs can't be used to mirror. Reframed the example to be about oras rather than oat based on the requirement. xref'd to the oat topic for creation steps.

  • Moved webhook section in Mirror from Hub section to third-party mirror section.

  • In Mirror, changed wording from "mirror to hub" to "mirror to your organization" to be more specific.

  • Added warning for examples using credentials in CLI

Previews

Related issues or tickets

ENGDOCS-3222
ENGDOCS-3224

Reviews

  • Editorial review

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 2, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit dc41ca9
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69d7d7f1d753150008247872
😎 Deploy Preview https://deploy-preview-24616--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@craig-osterhout
Copy link
Copy Markdown
Contributor Author

/review

@craig-osterhout craig-osterhout changed the title Engdocs 3222 2 dhi: refresh mirror & customize Apr 2, 2026
Copy link
Copy Markdown
Contributor

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🔴 CRITICAL

This PR reorganizes the DHI how-to documentation by consolidating the manage.md page into mirror.md and customize.md. The reorganization improves navigation, but there's one critical issue that must be addressed.

@craig-osterhout craig-osterhout added the status/review Pull requests that are ready for review label Apr 2, 2026
@craig-osterhout craig-osterhout requested a review from a team April 2, 2026 22:40
@craig-osterhout craig-osterhout mentioned this pull request Apr 7, 2026
1 task
@craig-osterhout
Copy link
Copy Markdown
Contributor Author

/review

Copy link
Copy Markdown
Contributor

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟡 NEEDS ATTENTION

This PR reorganizes DHI documentation by removing the manage.md page and consolidating management workflows into tabs. The changes are well-structured, but there are two documentation clarity issues that should be addressed:

  1. Undefined environment variables: CLI examples use $OAT and $DOCKER_ORG without showing how to set them
  2. Conflicting OAT guidance: The documentation states OATs work for ORAS but not for docker dhi commands, but this distinction isn't clearly explained

Both issues could confuse users trying to follow the instructions.

@craig-osterhout
Copy link
Copy Markdown
Contributor Author

/review

craig-osterhout added a commit that referenced this pull request Apr 9, 2026
<!--Delete sections as needed -->

## Description

- Merged the use in k8 topic into the general use topic. 
- Removed the generic dhi differences table and just xref'd to the
migrations topic that also has it.
- Simplified the pull & run section down to just explaining the
different registries.
- Added how to use els variants and removed that standalone topic.
- Replaced dev multi-stage example with an xref to the migration topics
- Added DD auth for k8 example for local dev

## Related issues or tickets

ENGDOCS-3222
ENGDOCS-3226
#24616 as it may cause conflicts.

## Reviews

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

- [ ] Editorial review

---------

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@craig-osterhout craig-osterhout removed the status/review Pull requests that are ready for review label Apr 9, 2026
Copy link
Copy Markdown
Contributor

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟡 NEEDS ATTENTION

Found 1 issue in the changed code that should be addressed.

Note: This PR correctly fixes the CLI command syntax in customize.md (moving --org flag to after positional arguments), which aligns with the CLI reference specifications. Good work on that fix!

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@craig-osterhout
Copy link
Copy Markdown
Contributor Author

/review

@craig-osterhout
Copy link
Copy Markdown
Contributor Author

Manually cancelled review as it was already over 35 minutes. Trying again.

@craig-osterhout
Copy link
Copy Markdown
Contributor Author

/review

Copy link
Copy Markdown
Contributor

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟡 NEEDS ATTENTION

This PR correctly reorganizes DHI documentation by removing manage.md and consolidating workflows into tabs. One medium-severity issue was found regarding OAT authentication guidance.

@craig-osterhout craig-osterhout added the status/review Pull requests that are ready for review label Apr 9, 2026
@craig-osterhout
Copy link
Copy Markdown
Contributor Author

craig-osterhout commented Apr 10, 2026

Need to pull in feedback/updates from #24692
Will probably cause a conflict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dhi status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant