-
Notifications
You must be signed in to change notification settings - Fork 291
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
docker run --isolation=process fails to start #9278
Comments
I just tried to reproduce this at home, using nanoserver, and it didn't reproduce, on a Windows 10 20H2 19042.572 system.
I tried with servercore, and that worked too: I'm wondering if there was an issue in the 508 build that was fixed in the 572 build. The "Windows 10 2004 (10.0.19041.508)" machine in the original report has been upgraded to Windows 10 2004 (10.0.19041.572), but is currently busy so I can't repeat the test there to validate this idea right now. Of course, it could be any of the dozens of other differences between the two work-related, AD-joined, machines I replicated this on, and my home games machine. -_- The "Windows 10 1909 (10.0.18363.1082)" machine in the original report has since been upgraded to Windows 10 2004 (10.0.19041.264) and it still reproduces the issue: |
It still happens on my (work) Windows 10 2004 (10.0.19041.572) box, so it's not to do with the kernel.
When I have a chance, I will downgrade to Docker Desktop 2.4.0.0, and see if the problem still occurs. I did try stopping Docker Desktop and running both dockerd.exe and docker.exe under the high-privilege account, and the problem replicated. The logs just showed that the vmcompute.dll I do note that until rebooting, the container cannot be removed, logging an error like
which suggests that the container tried to start. |
Hmm. I've just switched my laptop (on Windows 10 10.0.19041.572) to the Stable channel, with Docker Desktop for Windows 2.5.0.0, and the problem is still ocurring. So not something to do with Docker Engine 20.10.0-beta1 after all.
|
As an update on this: it appears to have been a conflict with Symantec Endpoint Protection, as uninstalling SEP and rebooting has fixed this on one of the above machines. The SEP version on my other machine (where I haven't uninstalled it) is 14.3 MP1 build 1148: 14.3.1148.0100, I assume that's what was installed on the now-working machine too. Since it affected both Windows 10 1909 and Windows 10 2004, and both Docker Engine 19.03 and 20.10 beta, I assume it's a problem specific with SEP, not a conflict between SEP and some system/Docker versions, I'll try and follow up for posterity if we work out what we can do about this, but for now I'll close the ticket as "not a Docker Desktop for Windows issue". |
Turns out this is a known issue with SEP, instructions on exceptions to add to SEP are at Endpoint Protection interfering with Docker containers on Windows Server 2016 |
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
Containers work when run in either Process or Hyper-V isolation modes
Actual behavior
Containers work when run in Hyper-V isolation mode, but fail in Process isolation mode.
The failure looks like
I assume the 'failed to remove root filesystem' is from the
--rm
, so the core problem is the hcsshim error.Information
docker version
details:This problem newly appeared with the Edge install, so I assume it's related to the Docker Engine 20.10.0-beta1. I haven't rolled back to the Stable release to verify that though.
In the Windows 10 1909 case, I tried rebooting and clearing the Windows Containers state, and the problem still reproduced.
Steps to reproduce the behavior
docker run --isolation=process -it --rm mcr.microsoft.com/windows/servercore:10.0.19041.508
,The text was updated successfully, but these errors were encountered: