Module 14 - Containerization Flashcards
Benefits of using containers to package applications
- Isolate applications from their environment
- Simplifies deployment
- Improves portability
How are dependencies managed in containerized applications?
The application obtains its dependencies from the container in which it is shipped, and not from the host on which it is deployed
_______ can containerize applications, whereas _______ can automate container provisioning and scaling across multiple hosts
Docker
Kubernetes
Why are Virtual Machines (VMs) less preferable than containers?
- Virtual machines are heavier
- VMs take longer to spin up than containers
- VMs uses the hardware environment whereas containers use the software environment only
- Multiple containers can run as independent processes on a single host whereas VMs require their own host with its own file system
The _____ _____ is used to configure and run containers
Docker Engine
A docker container executes software which is packaged in a single file called a Docker ______ ______
Container Image
Difference between docker image and VM image
- Docker image is much smaller and easier to copy between hosts
- VM image encapsulates an entire guest OS whereas Docker image only encapsulates an application and its dependencies
Why are linux containers preferred over windows containers?
Linux is free software whereas windows requires a supplemental license which is granted my Microsoft
A docker image is a file that _______ an application and its _______
encapsulates
dependencies
What is a parent image in dockerfiles?
The parent image is often a base image obtained from Docker’s servers, that provides the abstraction of a particular linux distribution along with some software platform (ex: java, python, or a database)
When a docker image is built, it is built on top of the ______ image according to the dockerfile
parent