Docker Community Forums

Share and learn in the Docker community.

Docker kenel version is same as host os


We recently started using docker image for testing of our applications on Jenkins.
Some of the tests are failing due to kernel
version. And found that docker shares the host kernel.

" Docker uses resource isolation features of the Linux kernel such as cgroups and kernel namespaces to allow independent “containers” to run within a single Linux instance, avoiding the overhead of starting virtual machines."

The host os we are running is with kernel version-3.10 but our some of our testing environment needs at least kernel version 3.14. The host machine is at our client side we can’t upgrade to new kernel version.

Is there any alternative way to use docker with upgraded kernel?

You can see how sharing the hosts kernel and requiring a different kernel version in your containers is mutual exclusive, right?

You might want to take a look at this blogpost and read about vm-like container runtimes:

Hi Meyay Metin,

Thanks, will go through your suggestions and give a try.