To run Hyper-V containers, the Hyper-V role is required to be enabled on a Nano Server container host. If the container Nano host is itself a Hyper-V virtual machine as described in the following example, then nested virtualization should be enabled before adding the Hyper-V role.
Follow the steps to create a VHD(X) image for Nano Server to be used as a container host, so we can run Hyper-V containers alongside Windows Server containers:
- Mount the Windows Server 2016 ISO medium on your machine. In this example, it's mounted on the H drive.
- Start Windows PowerShell as an administrator, and run the following script to create a VHD(X) for virtual machine deployment that includes the Container ...