Containers
Containers
Source:
Wikimedia(https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Hyperviseur.png/
400px-Hyperviseur.png)
Types of hypervisors
• Type 1
• A type 1 hypervisor acts like a lightweight operating system and runs
directly on the host’s hardware,
• Type 2
• A type 2 hypervisor runs as a software layer on an operating system,
like other computer programs.
Source: VMWare
[https://www.vmware.com/topics/glossary/content/hypervisor]
Characteristics of VM
• Each VM has its own binaries, libraries, and applications that it
services, and the VM may be many gigabytes in size.
• They have all the benefits of the VMs without any short comings!!!
• Containers sit on top of a physical server and its host OS—for
example, Linux or Windows.
• Each container shares the host OS kernel and, usually, the binaries
and libraries, too.
• Shared components are read-only.
• Analogous to Hypervisors.
• “Developing apps today requires so much more than writing code.
Multiple languages, frameworks, architectures, and discontinuous
interfaces between tools for each lifecycle stage creates enormous
complexity. Docker simplifies and accelerates your workflow, while
giving developers the freedom to innovate with their choice of tools,
application stacks, and deployment environments for each project.”
• https://www.docker.com/why-docker