Enable Nested Virtualization on Windows to run WSL 2 (Linux) and Hyper-V on a VM.

preview_player
Показать описание
**Please note: This applies only to Windows 10 Pro, NOT Home edition!**
On Windows by default nested virtualization is disabled. This means you won't be able to run WSL 2 or Hyper-V on a VM. In this video, I will show the issue you will run into if nested virtualization is off and how to fix it.

My Other Videos:
►Cilium Kubernetes CNI Provider, Part 2: Security Policies and Observability Leveraging Hubble
► Cilium Kubernetes CNI Provider, Part 3: Cluster Mesh
► What is VXLAN and How It is Used as an Overlay Network in Kubernetes?
► Managing Linux Log-ins, Users, and Machines in Active Directory (AD): Part 2- Join Linux Machines to AD:
► Managing Linux Log-ins, Users, and Machines in Active Directory (AD): Part 1- Setup AD:
► Sharing Resources between Windows and Linux:
► Kubernetes kube-proxy Modes: iptables and ipvs, Deep Dive:
►Kubernetes: Configuration as Data: Environment Variables, ConfigMaps, and Secrets:
►Configuring and Managing Storage in Kubernetes:
► Istio Service Mesh – Securing Kubernetes Workloads:
► Istio Service Mesh – Intro
► A Docker and Kubernetes tutorial for beginners:
► Setup a "Docker-less" Multi-node Kubernetes Cluster On Ubuntu Server:
► Understanding Kubernetes Networking. Part 6: Calico Network Policies:
► Understanding Kubernetes Networking. Part 5: Intro to Kubernetes Network Policies:
► Understanding Kubernetes Networking. Part 4: Kubernetes Services:
► Understanding Kubernetes Networking Part 3: Calico Kubernetes CNI Provider in-depth:
► Detailed Windows Terminal, (WSL 2), Linux, Docker, and Kubernetes Install Guide on Windows 10:
Рекомендации по теме
Комментарии
Автор

What a fine solution, thank you very much!!!!

jairotabares
Автор

Thanks a lot - this did what its said on the can! :)

leebrowman
Автор

Thank you for your video. Please clarify, is there WSL2 enabled on the host itself?

I.e. is it possible to have WSL2 enabled on the host itself and on the guest system at the same time?

vasyay
Автор

Great video! Let me ask, should the tweak work in Windows 11 Home as it does on Pro? For context, the Hyper-V Manager is not available in the Home edition but the command might work. Thanks!

pabloqp
Автор

what if you don't have hyper v installed though
or its not windows pro or newer

unique
Автор

What if there is no Virtual Machine Platform in the Windows Feature selection?

azimuthaz
Автор

Would this be the same for Windows 11? thanks.

itmall