305-300 · Question #42
How do containers share the host OS kernel?
The correct answer is B. Containers share the kernel but run isolated user spaces. Containers operate by sharing the host operating system's kernel while running in isolated user spaces. According to containerization documentation, Linux kernel features such as namespaces and cgroups provide process isolation, resource control, and security boundaries between…
Question
Options
- AContainers have their own full OS
- BContainers share the kernel but run isolated user spaces
- CContainers run directly on the host kernel
- DContainers do not use a kernel
How the community answered
(26 responses)- A8% (2)
- B73% (19)
- C15% (4)
- D4% (1)
Explanation
Containers operate by sharing the host operating system's kernel while running in isolated user spaces. According to containerization documentation, Linux kernel features such as namespaces and cgroups provide process isolation, resource control, and security boundaries between Each container has its own filesystem, process tree, and network stack, but all containers rely on the same underlying kernel. This design makes containers lightweight and efficient compared to virtual machines, which require separate guest kernels.
Topics
Community Discussion
No community discussion yet for this question.