Skip to content

Correct the Docker Layout Entry on the Image User - #1087

Merged
ptr727 merged 1 commit into
developfrom
docker-layout-user
Oct 30, 2026
Merged

ptr727 merged 1 commit into
developfrom
docker-layout-user

Conversation

@ptr727

@ptr727 ptr727 commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Summary

The GOVERNANCE.md "Repository Layout" entry for Docker/ said the image runs as a nonroot user. The Dockerfile has no USER directive, so the image defaults to root, and each documented docker run passes the host's nonroot user and users group IDs with --user. The entry now says that, matching OPERATIONS.md and the README examples.

This is the layout fix left over from #1067.

Local review

One local-strict-review pass at the frontier tier raised no findings.

🤖 Generated with Claude Code

The Repository Layout entry read as if the image defines a nonroot user.
The image has no USER directive and defaults to root, and a run supplies
the host's nonroot:users IDs with --user.
Copilot AI lite review requested due to automatic review settings October 30, 2026 01:25
@ptr727

ptr727 commented Oct 30, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head e78aa9c42d45b831826d99f69890047067c08a68, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 60224410-7a5c-4102-93a5-9189fa3cea75
Commits

Reviewing files that changed from the base of the PR and between a39dbf0 and e78aa9c.

Files selected for processing: 1
  • GOVERNANCE.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can route each severity your way: inline, summary, both, or drop

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Correct Docker image user description in repository layout

📝 Documentation 🕐 Less than 5 minutes

Grey Divider

AI Description

• Correct the Docker layout entry: the image defaults to root because it has no USER directive.
• Clarify that runs pass the host's nonroot user and users group IDs through --user.
High-Level Assessment

Correcting the layout entry is appropriate: it aligns the description with the unchanged image and existing run instructions. Changing the image's default user would alter runtime behavior rather than fix the documentation.

Files changed (1) +1 / -1

Documentation (1) +1 / -1
GOVERNANCE.mdClarify Docker image user behavior +1/-1

Clarify Docker image user behavior

• The repository layout entry now states that the image has no 'USER' directive and defaults to root. It explains that a run supplies the host's 'nonroot' user and 'users' group IDs with '--user', matching the existing Docker instructions.

GOVERNANCE.md

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain, and the documentation change accurately clarifies the Docker image’s runtime user behavior and required caller-provided ID mapping.

No open issues 🎉

What changed in this PR

This documentation-only pull request corrects the Docker/ entry in GOVERNANCE.md to reflect the image’s actual runtime user behavior: it defaults to root and relies on caller-provided --user IDs.

Changes:

  • Removes the inaccurate claim that the image runs as a built-in nonroot user.
  • Documents the absence of a Dockerfile USER directive.
  • Explains the required host user and group ID mapping.
File Description
GOVERNANCE.md Updates the Docker/ repository-layout entry to accurately describe the image’s runtime user behavior.

Review effort: Lite

@ptr727
ptr727 merged commit 16f8ccc into develop Oct 30, 2026
15 checks passed
@ptr727
ptr727 deleted the docker-layout-user branch October 30, 2026 01:48
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.

2 participants