$(uname -a) returning the same in docker host or any docker container
Docker uses the host operating system kernel, there is no custom or additional kernel inside the container. All containers running on the machine are sharing this “host” kernel. See for more information this question on SuperUser.