nutting
V2EX  ›  问与答

win10 的 docker 在 hyperv 里创建了虚拟机

  •  
  •   nutting · Jun 26, 2019 · 2479 views
    This topic created in 2521 days ago, the information mentioned may be changed or developed.

    和我自己创建一个虚拟机,然后在里面装个 docker 区别大吗

    1 replies    2019-06-26 09:47:53 +08:00
    snowfuck
        1
    snowfuck  
       Jun 26, 2019
    有,windows for docker 帮你做好了目录映射和端口映射,你可以直接挂在本地目录到虚机里的 docker 容器里,直接映射容器端口到本地端口。虚机这一层是透明的。而且据我使用体验,对比 docker toolbox 和 docker for windows,使用 hyper-v 虚机对资源的消耗更低,我是指容器空闲时,hyper-v 虚机 cpu 使用率更低。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4645 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:50 · PVG 17:50 · LAX 02:50 · JFK 05:50
    ♥ Do have faith in what you're doing.