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

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.

主站蜘蛛池模板: 西吉县| 浪卡子县| 秦安县| 绵阳市| 龙海市| 兖州市| 环江| 南宫市| 宝鸡市| 农安县| 会理县| 湖南省| 陈巴尔虎旗| 襄汾县| 柘城县| 右玉县| 遵义县| 当阳市| 若羌县| 太和县| 巴中市| 应用必备| 尼勒克县| 龙山县| 阿坝县| 东源县| 丹寨县| 江孜县| 财经| 东丰县| 余姚市| 双牌县| 友谊县| 洛宁县| 金乡县| 平罗县| 宣化县| 建湖县| 阳谷县| 全椒县| 赫章县|