Pavel Nasovich's Blog

The Moderately Enthusiastic Programmer

How to run Docker inside a virtual machine with Windows 10 in Unraid

Posted at — Nov 21, 2021

TL;DR Shutdown all VMs than run modprobe -r kvm_intel and modprobe kvm_intel nested=1 in unraid terminal. After that add <feature policy='require' name='vmx'/> to the CPU Section of target VM.


Make sure that all VM are stopped. Wait a little bit after stopping.

Open the Unraid Terminal

Run the following via a terminal in unraid (SpaceInvader’s thank you!)


modprobe -r kvm_amd
modprobe kvm_amd nested=1
echo "Nested vms are enabled for AMD cpus"

sleep 10

Open VM Settings -> Toggle XML View

Add feature to to the CPU Section

<feature policy='require' name='vmx'/>


Any way to reverse these commands?

modprobe -r kvm_amd
modprobe kvm_amd nested=0
comments powered by Disqus