I want to run a set of docker containers but with a custom kernel.
Since Docker for Windows is already using Hyper-V, could it be possible to change which image is running?
Docker uses its own patched Kernel (along with a specialized Linux distro) called linuxkit in Docker Desktop. It is mentioned in https://hub.docker.com/r/docker/for-desktop-kernel.
I am able to find kernel
, initrd.img
and cmdline
in a folder called linuxkit
inside the application folder of my Docker for Mac installation.
I assume that you will find a similar folder inside the Windows installation.
Simply build your own Kernel with the instructions/patches of linuxkit
and replace those files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With