-
Notifications
You must be signed in to change notification settings - Fork 64
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
I am unable to run process-isolated WS2022 containers through Docker Desktop and Windows 11 #525
Comments
Hi, thank you for bringing this to our attention. Can I confirm if you are using docker desktop? If so, can you make sure you've switched to Windows Containers? (It should say "Switch to Linux Containers" if you have). |
Thank you for your response. There is no choice of "Switch to Windows Containers" in the menu of docker desktop. I manually switch to Windows containers by running the following command: |
Alright, could you paste the output of running |
Here is the output of docker info: Client: Server: |
Hi, just jumping in here quickly. It looks like @sabinamiezah-msft couldn't repro your error so we'll need to get some more info. Would you mind collecting some Docker Events and HCS Logs? Docker Eventsdocker events HCS LogsGet-WinEvent -ProviderName "Microsoft-Windows-Hyper-V-Compute" We may need different events/logs later if these don't expose what's going wrong. Thanks! |
Hi,
currently I met a problem when running WS2022 container under Windows 11 and process isolation mode. Here is the error message:
PS C:\WINDOWS\system32> docker run --rm -it --isolation=process mcr.microsoft.com/windows/servercore:ltsc2022
docker: Error response from daemon: encountered an error during hcs::System::CreateProcess: c:\windows\system32\cmd.exe: failure in a Windows system call: The remote procedure call failed. (0x6be).
If I change to another image: mcr.microsoft.com/windows/server:ltsc2022 (instead of servercore), I got a different error message:
PS C:\WINDOWS\system32> docker run --rm -it --isolation=process mcr.microsoft.com/windows/server:ltsc2022
docker: Error response from daemon: encountered an error during hcs::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106).
All commands work fine under hyperv isolation mode.
I wonder whether I miss some configuration steps or there is some compatibility issue with process isolation mode when running under Windows 11.
Thank you very much!
The text was updated successfully, but these errors were encountered: