Machine-translated by Google. Questions are authored in English.
Top

Discussion

A container differs from a virtual machine in that it

  • A.shares the host kernel
  • B.runs its own operating system kernel
  • C.requires a hypervisor to run at all
  • D.cannot be isolated in any way at all

Answer: A

Correct answer: shares the host kernel

A container is a process on the host, isolated by namespaces and limited by cgroups, and it uses the host’s kernel rather than booting one of its own. That is why it starts in milliseconds and costs a few megabytes, where a virtual machine must boot a complete operating system on virtual hardware - and it is also why the isolation is weaker, as the next item makes explicit.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.