在Ryzen 9机器上为Docker和WSL2启用虚拟化


我得到了一台Ryzen 9 3900X机器,旨在提高开发效率。
image.png

image.png

我经常使用docker,但是在Windows上使用Docker时,我需要在BIOS中启用虚拟化。每个CPU和主板似乎都不同。

在我的情况下,出现了一个闪烁的BIOS屏幕,但我不知道设置屏幕。但是,似乎我应该只是进行搜索。
image.png
image.png
image.png

SVM Mode是设置,因此将其设置为enable

成功。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
>systeminfo

Host Name:                 DESKTOP-KIUTRHV
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.19041 N/A Build 19041
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          N/A
Registered Organization:   N/A
Product ID:                00329-00000-00003-AA340
Original Install Date:     6/27/2020, 2:57:46 PM
System Boot Time:          6/27/2020, 9:23:22 PM
System Manufacturer:       Micro-Star International Co., Ltd.
System Model:              MS-7A38
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: AMD64 Family 23 Model 113 Stepping 0 AuthenticAMD ~3800 Mhz
BIOS Version:              American Megatrends Inc. B.40, 11/7/2019
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume2
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-08:00) Pacific Time (US & Canada)
Total Physical Memory:     32,716 MB
Available Physical Memory: 29,086 MB
Virtual Memory: Max Size:  37,836 MB
Virtual Memory: Available: 32,671 MB
Virtual Memory: In Use:    5,165 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\DESKTOP-KIUTRHV
Hotfix(s):                 5 Hotfix(s) Installed.
                           [01]: KB4534170
                           [02]: KB4537759
                           [03]: KB4545706
                           [04]: KB4560366
                           [05]: KB4566866
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

这是典型的virtualization设置名称。它是脱节的。

英特尔虚拟化技术,
AMD-V,
Hyper-V
VT-X
范德浦
SVM

  • 如何在Windows 10上启用虚拟化