Context
I’m using a Windows 11 Pro machine that has following ver :
C:Users>ver
Microsoft Windows [Version 10.0.22621.1992]
I am using Docker Desktop in windows container mode and I would like to start a windows container with --isolation=process
with the following command
docker run -it --rm --name container_name -v .:c:/localroot --isolation=process image_name
Problem
When using process isolation mode, it’s crucial that the host operating system version matches the container image OS version. I’ve searched on Docker Hub, specifically the Microsoft Windows page, but could only find Windows 10 images.
Is there a specific reason Microsoft hasn’t released a Docker image corresponding to the Windows host version 10.0.22621.1992? Additionally, does anyone know of a suitable image or workaround for this?
Why I Opt for Process Isolation Mode in Docker
The source code resides on the host, and my objective is to compile it within the container. I utilize scons for the build process, which is highly I/O intensive. From extensive testing, I’ve observed that when the container operates in hyperv isolation mode, the build process is either significantly sluggish or occasionally fails altogether. By using process isolation mode, the container and the host share the same kernel. I believe this approach can enhance the build efficiency.