Docker: Running a Linux distribution different from the one in the host
Seems like you're making an assumption that kernel version matters. Surely there are cases where it does, but in the vast majority of cases, it does not matter.
Of course like any well-managed system, you should ensure you have tight control on your host systems as well as your application containers, and that your testing environment matches your prod environment.