In this model docker client runs on windows desktop but calls into docker daemon on the linux vm.
Linux containers on windows docker.
Creating secure lean and portable linux subsystems that can provide linux container functionality as a component of a container platform.
Note that we ll be covering only linux based containers in this article.
Windows subsystem for linux wsl 2 introduces a significant architectural change as it is a full linux kernel built by microsoft allowing linux containers to run natively without emulation.
Share a kernel with each other and the moby vm but not with the windows host.
Have consistent storage and networking properties with linux containers running on linux since they are running on a linux vm.
Running docker linux containers on windows requires a minimal linux kernel and userland to host the container processes.
How docker works on windows.
But we want to run linux containers now that we have docker installed we need to make some changes to the default configuration to enable support for linux containers.
This involves setting an environment variable and creating a docker daemon configuration file.
This is exactly what the linuxkit toolkit was designed for.
Starting with wsl2 docker can run in it s full flow in windows and you can use images built for linux.
In this model all linux containers share a single linux based container host and all linux containers.