$(uname -a) returning the same in docker host or any docker container

依然范特西╮ 提交于 2019-11-28 23:24:49

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.

  • cat /etc/os-release, or
  • cat /etc/issue for CentOS

See https://serverfault.com/a/805390/161568.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!