Pull Ubuntu 18.04 image to Mac but why it shows kernel 4.9 in the container

Hi,
I pull ubuntu 18.04
CMD: " docker pull ubuntu:18.04" and create a container. but why it shows kernel 4.9 in the container ? CMD: " docker exec -ti pedantic_fermat uname -a "
response:
“Linux 866929c3e358 4.9.93-linuxkit-aufs #1 SMP Wed Jun 6 16:55:56 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux”

I need the linux kernel 4.14 for compiling, and now it can’t be compiled because the kernel version.
please help.
Thanks.
Randy

1 Like