簡體   English   中英

如果我安裝了 Docker,我可以禁用 Hyper-V 功能嗎

[英]Can I disable Hyper-V feature if I have Docker installed

我在 Windows10 上安裝了 Docker 以使用單節點 Hadoop 集群並為其啟用 Hyper-V 功能。 現在我不需要它,但我不想放棄 docker 容器。 當我需要再次使用 docker 時,我可以禁用 Hyper-V 功能一段時間並啟用它嗎? 或者它可能會以某種方式影響現有的容器?

Docker is heavily built on deep Linux kernel features which Windows does not support (such as cgroups and namespaces) which is why Docker on Windows 10 can use one of 2 backends: Hyper-V or WSL2 which in turn is also based on Hyper-V .

雖然不建議在 Windows 主機上設置 Windows 容器而不使用基於 windows 進程隔離的 Hyper-V,但這是可能的。 當您詢問 Hadoop 集群時,這似乎與您的情況無關,該集群似乎僅在 linux 上受支持。 因此,即使您設法將 docker 設置為在沒有 Hyper-V 的情況下工作,設置 Hadoop 集群也是不可能的。

你有什么顧慮? 是關於性能嗎? 為什么要關閉 Hyper-V?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM