官术网_书友最值得收藏!

LinuxKit and MobyLinuxVM

Docker for Windows (which was the initial name of Docker Desktop for Windows at that time) eventually came with a dedicated Hyper-V virtual machine based on LinuxKit named MobyLinuxVM. The purpose of this virtual machine is to provide a minimal runtime for Linux containers that can technically be run side by side with Windows containers.

By default, Docker Desktop for Windows runs in Linux containers mode, which utilizes MobyLinuxVM. In order to switch to Windows containers mode, you have to navigate to the Docker Desktop tray icon and select Switch to Windows containers.... Docker will restart and switch to native Windows containers.

In this solution, MobyLinuxVM runs its own Docker daemon and technically acts as a separate container host enclosed inside a virtual machine. Similarly, Windows has its own Docker Daemon that's responsible for Windows containers and also provides the Docker Client (CLI), which communicates with both Docker Daemons. This architecture can be seen in the following diagram:

Now, let's take a look at a more up-to-date approach for running Linux containers on Windows: LinuxKit LCOW.

主站蜘蛛池模板: 韶关市| 浮山县| 和平区| 正定县| 清水县| 三穗县| 兴仁县| 浠水县| 台安县| 张北县| 彭阳县| 浏阳市| 原平市| 伊宁市| 弋阳县| 罗甸县| 黄平县| 株洲市| 汕头市| 芦溪县| 巨野县| 望谟县| 平远县| 竹溪县| 灵山县| 若尔盖县| 习水县| 大埔县| 临沧市| 黑水县| 玉田县| 林西县| 衡水市| 伊宁县| 永川市| 梓潼县| 安福县| 正宁县| 尉犁县| 乐山市| 宝鸡市|