在Docker Windows上运行linux容器 [英] Running linux container on docker windows

查看:906
本文介绍了在Docker Windows上运行linux容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 10盒子上为Windows安装了Docker.它要求我在其上启用HyperV功能.一切都正确安装并且运行正常.

I installed Docker for windows on a windows 10 box. It required me to enable the HyperV feature on it. Everything installed correctly and is running fine.

尽管有一件事使我感到惊讶.我实际上能够在docker windows上运行linux容器.我认为跨容器化在概念上是不可能的.谁能帮我了解它是如何工作的?

Although one thing took me by surprise. I am actually able to run a linux container on docker windows. I thought cross-containerization is not possible conceptually. Can anyone please help me understand how does this work?

推荐答案

HyperV用于启动Linux VM以运行容器. Docker仍在运行Linux容器,而本机Windows容器仍在开发中.

HyperV is used to spin up a Linux VM to run containers. Docker is still running Linux containers under the covers, the native Windows containers are still being developed.

这篇关于在Docker Windows上运行linux容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆