Main concepts Flashcards
Key Concept:
Virtualization vs. Containerization
Virtualization (or VMs) is the isolation of machines.
Containerization is the isolation of processes.
2 Main Linux terminal features for containerization
Namespaces: allows customization, and the appearance that each instance of the container has its own OS.
Control groups: used to make sure we’re limiting the amount of resources each container can is accessing to avoid taxing the system.
infinite flexibility vs. infinite portability
infinite flexibility (Virualization): we can define the number of processes, amount of RAM, amount of HD memory etc. that each VM can have.
Infinite portability (Containerization): container is defined in a single Docker file. The file says how to build and run our container and what libraries are needed. The file can be stored in a repository and used on any machine to spin up our application.