-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WCOW: buildkitd can't spin up Hyper-V isolated containers for RUN commands #5682
Comments
@riverar -- I will scope this and get back to you. Given that the classic docker supports However, getting this on the containerd side [1], will dig through ... __
|
Update, needed to specify
|
Add an option to run builds in hyper-v isolation mode for Windows images. WIP Checklist: - [x] Test with basic image runs - [ ] Test with bind and cache mounts - [ ] Test with CNI capability (this will not work, needs documentation) - [ ] Discuss which flags to use to expose this, `--isolated` like in `ctr`? Fixes moby#5682 Signed-off-by: Anthony Nandaa <[email protected]>
@profnandaa You're a machine! Will take a look in the AM and get you some feedback. |
Summary
Attempting to build an image on Windows vNext 27774 or Windows 11 results in failure due to mismatching container/host operating system versions. Buildkitd has no apparent way to force the use of Hyper-V isolated containers.
Microsoft has not provided containers compatible with newer versions of Windows forcing Hyper-V isolation use.
Details
Versions
buildctl github.com/moby/buildkit v0.19.0 3637d1b
buildkitd github.com/moby/buildkit v0.19.0 3637d1b
Questions
The text was updated successfully, but these errors were encountered: