Skip to content

buildkitd: handle device insecure entitlement - #6080

Merged
crazy-max merged 1 commit into
moby:masterfrom
crazy-max:buildkitd-device-entitlement
Jul 15, 2025
Merged

crazy-max merged 1 commit into
moby:masterfrom
crazy-max:buildkitd-device-entitlement

Conversation

@crazy-max

Copy link
Copy Markdown
Member

@crazy-max

crazy-max commented Jul 11, 2025 •

Copy link
Copy Markdown
Member Author

I was looking at the integration tests and I think we need a sandbox mode for device similar to netModeHost and secModeInsecure. Let me know if you want that here or as follow-up.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Comment thread cmd/buildkitd/main.go
cfg.Entitlements = append(cfg.Entitlements, e)
case "network.host":
cfg.Entitlements = append(cfg.Entitlements, e)
case "device":

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

So far an entitlement was supposed to be two words separate by a comma

@crazy-max
crazy-max merged commit 69d0afc into moby:master Jul 15, 2025
@crazy-max
crazy-max deleted the buildkitd-device-entitlement branch July 15, 2025 11:57
@crazy-max crazy-max added this to the v0.24.0 milestone Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants