Created
December 11, 2020 18:20
-
-
Save cassidydotdk/1c29cf78afb6689330757e47ca6d609b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Create your VM as normal, get Windows installed and so on | |
- Power the VM down, to "Off" state | |
- On the HOST pc, execute the following 2 commands from an elevated Powershell prompt | |
Set-VMProcessor -VMName "Name of your VM" -ExposeVirtualizationExtensions $true | |
Get-VMNetworkAdapter -VMName "Name of your VM" | Set-VMNetworkAdapter -MacAddressSpoofing On | |
- Start up the VM again | |
- Inside the VM, execute the following command from an elevated Powershell prompt | |
Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All | |
(reboot of the VM might be necessary) | |
After this, proceed to install and use Docker for Windows as normal. | |
Profit! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sourced from here https://gist.github.com/vtml/6df36cdf6cec2aee15277f871c928e79, with slight modifications.