2.Container vs. Virtualization
The introduction to this course.
Application have changed dramarically
Benefits of monolith - Simple to Develop , Test , Deplot & Scale
Disadvantages of monolith
Today
an efforts to solve complet problem
Virtual Machine | Docker |
---|---|
each VM runs its own os | Container is just a user space of OS |
Boot up time os in minutes | Containers instantiate in seconds |
VMs snapshots are used sparingly | Images are built incrementaly on top of another layers . lot of images /snapshots |
Not effective diffs . No versiob controlled | Images can be version controlled docker hub is like GITHUB |
Cannot run more than couple of VMs on an aveage laptop | Can run many docker containers in a laptop |
Only one VM can be stated from one set of VMX and VMDK file | Multiple Docker Containers can be started from one Docker images |