Beginners’ Guide for Microsoft Hyper-V: How to Run Linux Containers on Hyper-V — Part 28

BDRSuite
2 min readFeb 13, 2023

--

Beginners’ Guide for Microsoft Hyper-V: Overview of Hyper-V — Part 1
Beginners’ Guide for Microsoft Hyper-V: How to Install Microsoft Hyper-V Using Server Manager — Part 2
Beginners’ Guide for Microsoft Hyper-V: How to Install Microsoft Hyper-V with PowerShell — Part 3
Read More

Hyper-V provides an excellent platform for both Windows and Linux guest operating systems. Hyper-V administrators may want to install a Linux guest operating system to serve as a Linux-based container host to run containers. The Linux virtual machine approach to running containers with Hyper-V is still the most stable and supported method for running containers with Hyper-V without a paid solution. Let’s look at Hyper-V based Linux containers in this article.

Windows vs Linux containers

While you can run native Docker containers on your Hyper-V host, you must run Windows containers. It is because containers share the kernel of the host operating system. However, a few documented approaches to running Linux containers with Hyper-V isolation exist.

These methods for running free Hyper-V Linux containers include Windows Subsystem for Linux in Windows Server 2022 and Docker desktop (non-enterprise version). There is another way, using LinuxKit. Unfortunately, you have to choose whether to run Windows or Linux containers on your host, not both.

Running a Linux virtual machine is still the most straightforward free option for Hyper-V containers in production. So, let’s look at loading an Ubuntu 22.04 virtual machine in Hyper-V for running Linux containers in Hyper

Read this article to know more…

--

--

BDRSuite
BDRSuite

Written by BDRSuite

BDRSuite is a comprehensive backup and disaster recovery solution designed to protect the data across diverse IT infrastructures.

No responses yet