Run container in Azure VM
We can run container (using Docker Desktop) inside Azure VM. Following are some considerations for the setup.
Not all Azure VM support container. D4_v5 and above VM support nested virtulization.
When creating the Zure VM, ensure the security type on the Basic tab is set to “Standard”, not “Trusted Launch”. Trusted Launch does not support Nested Virtualization. Azure Portal default to Trusted Launch.
After VM is created, turn Windows featur “Windows Hypervisor Platform” on.
Posted by John Liu Sunday, January 14, 2024