Module 1 Understanding the Benefits of Containers Flashcards
What is use to virtualized physical hardware?
Hypervisors
Hypervisors traditionally virtualize physical hardware.
What is one benefit of containers?
They supply portability between different platforms and clouds
Containers simplify portability between different platforms and clouds.
What is an important difference between containers and virtual machines?
Containers virtualize the operating system and VMs virtualize the hardware
Containers have an advantage because they virtualize the operating system while virtual machines only virtualize hardware.
What are the operating system primitives that enable virtualization in the Linux Kernel?
namespace and cgroups
In the case of the Linux kernel, namespaces and cgroups are the operating system primitives that enable this virtualization.
True or False
An image is immutable.
True
An Image is read-only, or considered immutable.
What defines a read-only file that holds code, libraries, and dependencies that are required?
Container image
The definition of a container image is a read-only file that holds code, libraries, and dependencies that are required by an application to run.
What is one of the reasons that Containers are considered a better option than virtual machines?
Containers are small and consume fewer resources than virtual machines.
What platform is used for container orchestration?
Kubernetes
Kubernetes is a container orchestration platform.
Why are containers considered lightweight?
Guest OS is not required
Containers are lightweight because they eliminate the need to have guest OS.
What is a Dockerfile?
A text file that contains all the commands a user would call on the command line to create the image.
A Dockerfile is a text image that contains the instructions to create a new container image.