installing drivers in hyper-v containers

Hi,
I’m trying to figure out if it’s possible to install a driver in a hyper-v container, or in a general way what is the degree of access to the kernel from hyper-v containers.

Does anyone have experience with it? Is there documentation I can read to educate myself on the subject?

Thank you very much,
Loris

I install drivers and run the kernel debugger on Hyper-V VMs every day. The access to the kernel debugger is identical to what you get with a physical target machine.

I personally use the Visual Studio (2017+) built in WDK. It is seamless and easy to use. If you scroll down a bit in this post, https://community.osr.com/discussion/290907/kernel-debugging-in-visual-studio, I provide a step-by-step guide

_Ron

Hi, Ron. I think Loris is talking about Hyper-V containers, and not Hyper-V VMs. They’re different technologies and as far as I know, there is no way of having third party drivers running on a Hyper-V container. The kernel is based on a Microsoft image and there’s no way of having your driver installed. I did this question to Microsoft team when I was attending Plugfest Containers at Microsoft. Regards, — Fernando Roberto da Silva DriverEntry Kernel Development http://www.driverentry.com.br

My bad. Thanks for the correction. I’ll check them out.

_Ron

That’s right, my question was about Hyper-V containers.

Thank you Fernando Roberto, this is what I suspected but I was having a hard time finding an answer online.