Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Aren't centos:7 and centos:8 using different kernels?


Nope, they're just the CentOS 7 and CentOS 8 userlands running on top of the host kernel.


That'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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: