可以在docker容器里跑windows么?
大家讲道理
大家讲道理 2017-04-21 11:18:16
0
7
2279

容器可以跑在各种系统上,如Linux,Windows,
我可以在Linux上跑Docker容器,然后在容器里跑Windows么?
是否像Vbox那样可以看到Windows界面?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(7)
巴扎黑

Clear answer: No!
To understand the reasons for the creation of docker and the principles of its implementation, you will know. The most intuitive understanding is that docker reduces the waste of resources and only provides necessary services, while a windows desktop does not know how much resources are wasted.
You can refer to here /blog/seanlook/1190000002451537

Ty80

Not currently possible, it should be possible in the next Windows Server version.
Docker and Microsoft: Integrating Docker with Windows Server and Microsoft Azure [Chinese]

伊谢尔伦

If you are talking about running the Microsoft Windows operating system in Docker, it is currently not possible.

If you are talking about running window applications, such as Firefox, in Docker, actual testing is fine.

迷茫

To be clear, docker is not a virtual machine, but a container, Container. This is still different from the concept of a virtual machine. Virtual machines mainly abstract the hardware to support the operation of the operating system, while containers are essentially application-based. The simplest example, sandbox, you can understand that docker implements isolation applied to the host like a sandbox.

巴扎黑

It should be ready now. On April 8, US time, Windows officially announced some details of its container technology and released Hyper-V Container and Nano Server.

Nano Server is a deeply reconstructed version of Windows Server specifically targeted at cloud and DevOps. It only contains a minimal footprint installation package and a remote management tool. The streamlined version (size reduced by 93%) means the system starts up faster (starting in only 28 seconds in the blog video) and can run on containers, virtual machines and physical servers.

Nano Server mainly targets the following two application scenarios:

Born for the cloud: supports multiple programming languages ​​and runtimes (such as C#, Java, Node.js, Python, etc.), can run on containers, virtual machines and physical servers;
Microsoft cloud platform infrastructure: supports computing clusters running Hyper-V and storage clusters running Scale-out File Server.

黄舟

Let me make a joke,
A female technician from Docker official released a video at a certain meeting:
Running Windows in Docker.

In fact, virtualbox is still running in docker, and windows is running in vbox.

As for docker itself, it can only run windows programs.

大家讲道理

Yes, it is indeed whimsical to run docker directly on windows. System - docker contrainer - vbox - windows2003 is more or less the same

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template