Beginner
Docker & Containers
Q26 / 100
What is the difference between a Docker container and a virtual machine, at a high level?
Correct! Well done.
Incorrect.
The correct answer is B) A container shares the host OS kernel and is more lightweight, while a virtual machine includes its own full operating system and is managed by a hypervisor
B
Correct Answer
A container shares the host OS kernel and is more lightweight, while a virtual machine includes its own full operating system and is managed by a hypervisor
Explanation
VMs virtualize hardware and run a complete guest OS via a hypervisor, which is heavier; containers virtualize at the OS level, sharing the host kernel, making them start faster and use fewer resources.
Progress
26/100