Skip to content

docs(secrets): add repo setup step to docker pass install#25569

Merged
dvdksn merged 1 commit into
docker:mainfrom
joe0BAB:feat/pass-tweak
Jul 15, 2026
Merged

docs(secrets): add repo setup step to docker pass install#25569
dvdksn merged 1 commit into
docker:mainfrom
joe0BAB:feat/pass-tweak

Conversation

@joe0BAB

@joe0BAB joe0BAB commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

Updated auto generated docker pass docs.

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 367d9ed
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a57366f84a23d0007e8de46
😎 Deploy Preview https://deploy-preview-25569--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.

@joe0BAB joe0BAB requested a review from dvdksn July 15, 2026 07:30

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Assessment: 🔴 CRITICAL

2 high-severity issues found in this PR.

On Docker Desktop, Secrets Engine and `docker pass` are integrated by default.
For Docker CE, install the packages separately; this requires Docker Engine
(`dockerd`) 29.2.0 or later.
For Docker CE, install the packages separately from Docker's official

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[HIGH] Manually editing a vendored/generated YAML file — critical auto-reject violation

data/cli/secrets/docker_pass.yaml lives under the data/cli/ subdirectory. Per this project's conventions, files in data/*/*.yaml subdirectories are auto-generated/vendored from upstream CLI repositories and must not be manually edited here.

This change needs to be made upstream in the repository that generates this file (the Docker CLI secrets engine repo), and then synced into this docs repo via the normal automation. Editing it directly here will be overwritten the next time the sync runs, and it bypasses the upstream review process.

convenience script:
```shell
curl -fsSL https://get.docker.com | sh -s -- --setup-repo

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[HIGH] Potentially invalid --setup-repo flag in the get.docker.com convenience script

The added command:

curl -fsSL https://get.docker.com | sh -s -- --setup-repo

The --setup-repo flag is not a widely documented option for the get.docker.com convenience script. The standard documented usage is curl -fsSL https://get.docker.com | sh (which installs Docker Engine). If --setup-repo is unrecognised by the script, it will either error out or silently do nothing — leaving the user without the Docker repository configured, which is the entire purpose of this step.

Please verify that --setup-repo is a valid, supported flag in the current version of the script at https://get.docker.com before shipping this command to users.

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Assessment: 🔴 CRITICAL

This PR manually edits a generated/vendored CLI reference YAML file. Changes to files under data/*/*.yaml subdirectories are auto-generated from upstream sources and should not be edited directly in this repo.

On Docker Desktop, Secrets Engine and `docker pass` are integrated by default.
For Docker CE, install the packages separately; this requires Docker Engine
(`dockerd`) 29.2.0 or later.
For Docker CE, install the packages separately from Docker's official

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[HIGH] Manual edit to a generated/vendored CLI reference YAML file

data/cli/secrets/docker_pass.yaml lives under data/cli/**/*.yaml — a subdirectory of data/ whose YAML files are generated from upstream sources and should not be manually edited. The PR description itself says "Updated auto generated docker pass docs", confirming the file is auto-generated.

Manual edits to generated files are overwritten the next time the upstream sync runs, causing this change to silently disappear. The correct fix is to make the change upstream (in the source repo that generates this YAML) and let the sync propagate it to this repo.

@dvdksn dvdksn merged commit d388a47 into docker:main Jul 15, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants