What is the difference between a Container and a Virtual Machine?

0

We need to select an operating System(OS) to get a specific virtual machine (VM). VM provides fullOS to an application for running in a virtualized environment.

A Container uses the APIs of an operating System(OS) to provide a runtime environment to an application.
A Container is very lightweight in comparison with a VM.

VM provides a higher level of security compared to a Container.

AContainer just provides the APIs that are required by the application.

asked Apr 30, 2023 at 19:39
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.