-
Notifications
You must be signed in to change notification settings - Fork 289
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
LCOW - Linux containers on Windows (Hyper-V) docker builds broken #9541
Comments
Thanks for the report, @MythreyaK. If you are getting an hcsshim error, the bug is in the upstream Engine code (https://github.com/moby/moby) rather than in Docker Desktop code itself. So I would suggest opening a bug report in moby/moby except that LCOW was only ever an experimental feature and is now deprecated (see https://github.com/docker/cli/blob/master/docs/deprecated.md#linux-containers-on-windows-lcow-experimental), so I don't think it is likely to get fixed. Both Microsoft's attention and ours has turned to WSL 2, which we would recommend instead. Sorry, I realise that doesn't solve your immediate problem, but that's the situation. |
Please don't apologize, I'm better informed now, I couldn't find any info while looking for this error, so I thought I'd ask. Thank you for your time, and pointing me to the right resources! |
To be honest, I don't think it will get any attention if you do move it. WSL 2 also doesn't involve a big fat VM, and is much faster as long as you keep your files in the Linux filesystem not the Windows filesystem. Granted you do still have to choose between Linux and Windows container modes: we have a roadmap item for that (docker/roadmap#79) but we haven't scheduled it yet. |
Thanks for the info! |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Docker builds my image
Actual behavior
Error during second state of any Dockerfile build
Line breaks inserted:
Information
Steps to reproduce the behavior
LCOW
(Linux containers on windows using Hyper-V isolation)docker build -t test --isolation hyperv .
ordocker build -t nginx-test --platform linux .
ordocker build -t test .
.The text was updated successfully, but these errors were encountered: