适用于 Windows 的 Docker 映像

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26825748/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 18:48:47  来源:igfitidea点击:

Docker image for Windows

windowsdockerboot2docker

提问by Jimson Kannanthara James

Has any one tried building a docker image for Windows (7.1/8)? The closest answer available for me is from ScottGu's Blog. See here http://weblogs.asp.net/scottgu/docker-and-microsoft-integrating-docker-with-windows-server-and-microsoft-azure

有没有人试过为 Windows (7.1/8) 构建一个 docker 镜像?对我来说最接近的答案来自 ScottGu 的博客。在这里看到http://weblogs.asp.net/scottgu/docker-and-microsoft-integrating-docker-with-windows-server-and-microsoft-azure

But I was wondering, is there any one else tried to build the same?

但我想知道,有没有其他人试图建立相同的?

回答by flipchart

Currently, Windows does not support containerization like the Linux kernel does. The announcement from Scott Gu that you linked to details that Docker has partnered with Microsoft and the Microsoft will be building in containerization technology into the next version of Windows. However, for now, there is no way to create a native Windows container and you will have to use tools like boot2dockerto achieve containerization on Windows (although boot2docker is a virtual machine running Linux on Windows)

目前,Windows 不像 Linux 内核那样支持容器化。Scott Gu 的声明,你链接到 Docker 与微软合作的细节,微软将在下一版本的 Windows 中构建容器化技术。但是,目前还没有办法创建原生的 Windows 容器,你将不得不使用boot2docker 之类的工具在 Windows 上实现容器化(虽然 boot2docker 是在 Windows 上运行 Linux 的虚拟机)

回答by paul stanton

WinDocks just released a port of the Docker engine for Windows 8, Windows 10, Windows Server 2012, and Windows Server 2016. We may look into supporting Windows Server 2008 . . . and would have Windows 7 at the same time.

WinDocks 刚刚发布了 Windows 8、Windows 10、Windows Server 2012 和 Windows Server 2016 的 Docker 引擎端口。我们可能会考虑支持 Windows Server 2008。. . 并且会同时拥有 Windows 7。

There is a free downloadable version available at WinDocks

WinDocks提供免费下载版本

Disclosure: I am the Co-Founder of WinDocks

披露:我是 WinDocks 的联合创始人