God's in his heaven.
All's right with the world.

0%

为什么Docker能运行不同的Linux发行版?

结合What is the relationship between the docker host OS and the container base image OS?How can Docker run distros with different kernels?和[Why docker has ability to run different linux distribution?(https://stackoverflow.com/questions/25444099/why-docker-has-ability-to-run-different-linux-distribution)这几篇文章看来,Docker实例和Host OS之间通讯的唯一桥梁就是Host OS的内核。挡在Fedora上跑一个Ubuntu 16.04的Docker实例时,Docker实例用的内核仍然是Fedora的内核,而不是Ubuntu 16.04所对应的的内核,因此有可能和原生的Ubuntu 16.04有一些内核上的区别。


本文地址:http://xnerv.wang/why-docker-has-ability-to-run-different-linux-distribution/