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

Eric Hans on March 10, 2019

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

markdown guide
 

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.

 
code of conduct - report abuse