4 ms·
All of those OSes use the same linux kernel, it's only the user-space part that differs. When you run eg. an ubuntu docker image, the entire user-space of ubun
by Diggsey 5y ago
All of those OSes use the same linux kernel, it's only the user-space part that differs.
When you run eg. an ubuntu docker image, the entire user-space of ubuntu is running inside the container. Only the kernel is shared with the host.
- jahlove 5y agoAren't centos:7 and centos:8 using different kernels?
- piperswe 5y agoNope, they're just the CentOS 7 and CentOS 8 userlands running on top of the host kernel.
- chousuke 5y agoThat's not necessarily true though; you could very well implement containers as lightweight VMs that use their own specific kernels, though the image itself doesn't contain any. Thinking in terms of containers vs VMs is missing the mark a bit.