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

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.

主站蜘蛛池模板: 凤翔县| 龙岩市| 惠州市| 左贡县| 双辽市| 安宁市| 永靖县| 松原市| 安多县| 阆中市| 乐陵市| 宁化县| 巴林左旗| 夹江县| 莎车县| 桓台县| 大同市| 新竹县| 习水县| 彰化市| 民和| 大同县| 开江县| 阳江市| 白朗县| 晋中市| 大城县| 仙游县| 墨玉县| 宜都市| 独山县| 商河县| 襄樊市| 邵武市| 嘉峪关市| 大英县| 镇康县| 齐齐哈尔市| 巴里| 余姚市| 克拉玛依市|