Skip to content

feat(cli,rest): expose privileged mode via --privileged and self-hosted REST - #6

Closed
G4614 wants to merge 1 commit into
feat/dind-privileged-plumbingfrom
feat/dind-cli-rest-privileged
Closed

G4614 wants to merge 1 commit into
feat/dind-privileged-plumbingfrom
feat/dind-cli-rest-privileged

Conversation

@G4614

@G4614 G4614 commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Adds the CLI --privileged flag and self-hosted REST/OpenAPI exposure for the AdvancedBoxOptions.privileged mechanism feat/dind-privileged-plumbing (#646) adds — split out the same way #1156 split the control-plane/runner/SDK surfaces out of #646.

Stacked on feat/dind-privileged-plumbing, not main: this branch needs AdvancedBoxOptions.privileged/set_privileged to exist to compile, so it can't merge before #646 does. Once #646 merges to main, retarget this PR's base to main.

Test plan:

…ed REST

Adds the CLI --privileged flag and the self-hosted REST/OpenAPI surface for
the AdvancedBoxOptions.privileged mechanism feat/dind-privileged-plumbing
(boxlite-ai#646) adds. Pure consumer: no new mechanism, just wiring a caller onto the
Rust API's set_privileged/AdvancedBoxOptions.privileged that already exists
on this branch.

Before: --privileged / the REST body field don't exist; only the Rust API
  (AdvancedBoxOptions.privileged, set_privileged) can request privileged mode.
After: cli.rs/commands::create::run parse --privileged and call
  set_privileged(true) -> AdvancedBoxOptions.privileged
  rest/types.rs deserializes the same field from the REST request body
  openapi/box.openapi.yaml documents both the request field and the
  capabilities.privileged_enabled response flag
@G4614

G4614 commented Aug 12, 2026

Copy link
Copy Markdown
Owner Author

Reopening as a proper cross-repo PR against boxlite-ai/boxlite so it's visible to upstream reviewers, matching boxlite-ai#646/boxlite-ai#1156's own shape.

@G4614 G4614 closed this Aug 12, 2026
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.

1 participant