new WSL2 and new Docker at win10 - Linux

By Oliver
at 2020-06-04T16:47
at 2020-06-04T16:47
Table of Contents
: 推 Adama: WSL2就需要HyperV了吧(linux內核),還是會跟VM/VB衝突吧? 05/25 14:38
: 推 Adama: docs.microsoft.com/en-us/windows/wsl/compare-versions 05/25 14:42
: → Adama: 這裡表示WSL2的確不能跟VM/VB一起跑 05/25 14:42
: → Adama: Docker不再需要HyperV是因為用上WSL2的linux kernel的關係 05/25 14:43
: 推 alan23273850: https://imgur.com/dWmVVCA 這邊有提到某些虛擬機器 05/30 15:22
: → alan23273850: 也能和 hyper-V 並存 05/30 15:22
: → alan23273850: 我安裝了之後實測了一下,VM和WSL2真的可以同時執行 05/31 01:57
: → roccqqck: https://i.imgur.com/UpTqKJB.png 我virtualbox6.1.8可 05/31 02:03
查了一下,最新的VirtualBox和VMWare的確都能用Hyper-V的介面了
VMWare是從15.5.5版開始支援 (5/28才釋出的)
https://blogs.vmware.com/workstation/2020/05/vmware-workstation-now-supports-hyper-v-mode.html
VirtualBox是6.1.4 (2/19) 開始支援
Windows host: Restore the ability to run VMs through Hyper-V, at the expense of performance
因為用了Hyper-V介面 (WHP APIs)後,虛擬機會變成在user level執行,無法再直接存取硬體 (VT-X or AMD-V)。這大概是為什麼VB寫著代價是效能損失吧...
--
: 推 Adama: docs.microsoft.com/en-us/windows/wsl/compare-versions 05/25 14:42
: → Adama: 這裡表示WSL2的確不能跟VM/VB一起跑 05/25 14:42
: → Adama: Docker不再需要HyperV是因為用上WSL2的linux kernel的關係 05/25 14:43
: 推 alan23273850: https://imgur.com/dWmVVCA 這邊有提到某些虛擬機器 05/30 15:22
: → alan23273850: 也能和 hyper-V 並存 05/30 15:22
: → alan23273850: 我安裝了之後實測了一下,VM和WSL2真的可以同時執行 05/31 01:57
: → roccqqck: https://i.imgur.com/UpTqKJB.png 我virtualbox6.1.8可 05/31 02:03
查了一下,最新的VirtualBox和VMWare的確都能用Hyper-V的介面了
VMWare是從15.5.5版開始支援 (5/28才釋出的)
https://blogs.vmware.com/workstation/2020/05/vmware-workstation-now-supports-hyper-v-mode.html
VirtualBox是6.1.4 (2/19) 開始支援
Windows host: Restore the ability to run VMs through Hyper-V, at the expense of performance
因為用了Hyper-V介面 (WHP APIs)後,虛擬機會變成在user level執行,無法再直接存取硬體 (VT-X or AMD-V)。這大概是為什麼VB寫著代價是效能損失吧...
--
Tags:
Linux
All Comments

By Yuri
at 2020-06-08T08:39
at 2020-06-08T08:39

By Heather
at 2020-06-11T02:30
at 2020-06-11T02:30

By Charlie
at 2020-06-14T10:10
at 2020-06-14T10:10

By Lauren
at 2020-06-17T10:09
at 2020-06-17T10:09

By Franklin
at 2020-06-18T23:28
at 2020-06-18T23:28

By Puput
at 2020-06-22T17:14
at 2020-06-22T17:14

By Jake
at 2020-06-25T00:28
at 2020-06-25T00:28

By Gilbert
at 2020-06-25T02:00
at 2020-06-25T02:00

By Rosalind
at 2020-06-27T21:56
at 2020-06-27T21:56

By Agnes
at 2020-06-29T16:50
at 2020-06-29T16:50

By Charlotte
at 2020-07-04T12:34
at 2020-07-04T12:34

By Emily
at 2020-07-08T13:50
at 2020-07-08T13:50

By Olivia
at 2020-07-09T12:31
at 2020-07-09T12:31

By Wallis
at 2020-07-11T01:18
at 2020-07-11T01:18

By Donna
at 2020-07-15T19:52
at 2020-07-15T19:52
Related Posts
Gromit-MPX: 桌面就是我的畫布

By Kyle
at 2020-05-30T11:43
at 2020-05-30T11:43
Batch轉換Shell請教

By Agnes
at 2020-05-27T20:07
at 2020-05-27T20:07
Re: 硬連結的用途

By Odelette
at 2020-05-27T19:44
at 2020-05-27T19:44
菜鳥想問PVE(proxmox) vm的remote access

By Vanessa
at 2020-05-27T17:07
at 2020-05-27T17:07
不小心把分區刪了

By Bennie
at 2020-05-26T13:44
at 2020-05-26T13:44