2023-03-11 可以选择不实用Hyper-V
WSL 2 backend
- Windows 11 64-bit: Home or Pro version 21H2 or higher, or Enterprise or Education version 21H2 or higher.
- Windows 10 64-bit: Home or Pro 21H1 (build 19043) or higher, or Enterprise or Education 20H2 (build 19042) or higher.
- Enable the WSL 2 feature on Windows. For detailed instructions, refer to the Microsoft documentation.
-
The following hardware prerequisites are required to successfully run WSL 2 on Windows 10 or Windows 11:
- 64-bit processor with Second Level Address Translation (SLAT)
- 4GB system RAM
- BIOS-level hardware virtualization support must be enabled in the BIOS settings. For more information, see Virtualization.
- Download and install the Linux kernel update package.
Resolve the conflict between docker and VMWare-ITworkman
After docker and VMware are installed locally, they cannot be started at the same time. Because docker and VMware are equivalent to hypervisors, and based on the properties of virtual machines, it is necessary to obtain control over CPU and other hardware, because they cannot run on the same machine at the same time.
VMware error reporting
VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard. Please visit http://www.vmware.com/go/turnoff_CG_DG for more details.
Virtualization Based Security
Win + R open operation
Enter gpedit MSc Open Group Policy Editor
Computer Configuration -> Administrative Templates -> System -> Device guard rear
Double click to open the configuration option turn on virtualization based security and select disable
PowerShell command
Start – Windows PowerShell (admin)
The start command is
bcdedit /set hypervisorlaunchtype auto
The close command is
bcdedit /set hypervisorlaunchtype off
The above is my personal experience. I hope I can give you a reference. I also hope you can support the script home. If there are mistakes or not fully considered, please don’t hesitate to comment.
标签:Resolve,Windows,ITworkman,conflict,docker,bit,VMware,higher From: https://www.cnblogs.com/chucklu/p/17205562.html