search

Home  >  Q&A  >  body text

可以在docker容器里跑windows么?

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

大家讲道理大家讲道理2777 days ago2284

reply all(7)I'll reply

  • 巴扎黑

    巴扎黑2017-04-21 11:20:16

    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

    reply
    0
  • PHP中文网

    PHP中文网2017-04-21 11:20:16

    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]

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-21 11:20:16

    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.

    reply
    0
  • 迷茫

    迷茫2017-04-21 11:20:16

    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.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-21 11:20:16

    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.

    reply
    0
  • 黄舟

    黄舟2017-04-21 11:20:16

    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.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-21 11:20:16

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

    reply
    0
  • Cancelreply