Nested virtulization for linux containers

akshay95 21 Reputation points

I am trying to run Linux container on Azure VM (Windows server 2019). This requires me to set up nested virtualization. Since I am planning to run Linux container should I install Ubuntu as nested VM or windows server 2016/2019 as described in this article? -
Step 4 requires me to install Hyper-v again within VM (This can only be done with Windows server 2016/2019)
Can somebody help?137582-image.png

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,579 questions
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,634 questions
0 comments No comments
{count} votes

Accepted answer
  1. TravisCragg-MSFT 5,681 Reputation points Microsoft Employee

    @akshay95 Because you are deploying this in Azure, you are already 1 level deep in nested virtualization. You should not need to re-install Hyper-V. Run the required commands, but go straight with an Ubuntu VM.

    If you like, you can start with a Windows image first as a proof of concept before you try to deploy a Linux nested VM.

    There are a few blogs on others who have done this, if you need help just let me know.

1 additional answer

Sort by: Most helpful
  1. Limitless Technology 39,511 Reputation points

    Hi there,

    You need not install the Hyper v again. Native Linux Container support is built on Hyper-V Isolation, which is dependent on Hyper-V being enabled. So just follow the steps that are described in the link and it must be Done.

    If the reply is helpful, please Upvote and Accept it as an answer