Skip to content

Instantly share code, notes, and snippets.

@DeckerSU
Last active November 3, 2022 21:19
Show Gist options
  • Save DeckerSU/27c1ef721ea82557f7adf4bf0f1099a1 to your computer and use it in GitHub Desktop.
Save DeckerSU/27c1ef721ea82557f7adf4bf0f1099a1 to your computer and use it in GitHub Desktop.
WIndows Build Platfrom

Docker Desktop, VirtualBox and WSL2:

If your are running Windows under VM (ESXi, VMWare, VirtualBox) - nested virtualisation should be enabled. Don't forget to enable VT-d in the BIOS of host PC also.

VirtualBox:

  • Enable PAE/NX
  • Enable Nested VT-x/AMD-v

Also take into account that Home Editions of Windows is not supported Hyper-V feature, and you should upgrade to Pro.

Windows Powershell as Administrator (Win+X):

DISM /Online /Disable-Feature /featurename:VirtualMachinePlatform
DISM /Online /Enable-Feature /FeatureName:Microsoft-Hyper-V /All

Ept (SLAT) is not supported inside VM, Coreinfo seems shows the same. That's why Hyper-V VMs inside VirtualBox doesn't work.

00:00:00.848295 *********************** VT-x features ***********************
00:00:00.848295 Nested hardware virtualization - VMX features
00:00:00.848296   Mnemonic - Description                                  = guest (host)
00:00:00.848296   VMX - Virtual-Machine Extensions                        = 1 (1)
...
00:00:00.848304   Ept - Extended Page Tables                              = 0 (1)
...
00:00:00.848315 
00:00:00.848315 ******************* End of VT-x features ********************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment