Skip to content

Testing buildkit 0.13 RC for Windows -> Access denied #4729

Answered by profnandaa
fabiang asked this question in Q&A
Discussion options

You must be logged in to vote

@fabiang -- thanks for looking at the release. This is something I'm currently investigating to ascertain why the difference in the handling of the ACL (ownership transfer). With the current sample at docs/windows.md:

  • WS2019 - builds successfully
  • WS2022 - "access denied" error // same build error with docker build
  • Windows 11 - builds successfully

I get the same build error too with docker build, meaning it shouldn't be treated as a regression; but we might need to handle the discrepancy from the platform / Windows side.

The sample was meant to just do a quick test for buildctl build but I'm glad it unearthed this issue.

The quick workaround, add USER ContainerAdministrator after FROM ...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@profnandaa
Comment options

@fabiang
Comment options

@profnandaa
Comment options

Answer selected by fabiang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants