DEV Community

Alex Hans
Alex Hans

Posted on

Can I change the linux kenrnel to a lower version on docker?

I want to compile and run a linux-2.x kernel without a VM, but a linux container.

Discussion (2)

Collapse
_nicovillanueva profile image
Nico

Nope, the kernel that runs inside a container, is the same as your host machine.
For kernel testing you must go the VM route. Vagrant is a nice tool for easily working with VMs.

Collapse
baddate profile image
Alex Hans Author

Thanks!