Sunteți pe pagina 1din 7

Costly Proposition: Hardware

Installation
Each hardware needs cable,
switch, power, storage
Time consuming : OS
Installation, security hardening
Under utilized resources

No waiting for hardware ordering


Easy provisioning of RAM, Disk or
CPU
Easy Scaling : increase RAM, Disk
or CPU
Savings in Space and Power

What is Docker ?!!!


Docker is an Open platform for developing, shipping and
running distributed applications using container
virtualization technology.

Dockers Architecture

What is an Image?
A runnable component with a filesystem

Containers, the runtime of docker, are created from images


Filesystem made up with layers
Just tar files
Layers can be shared between images

Includes a description organizing layers into an image


Identified by a name (ubuntu, redis, stevvooe/myapp)

What is the Docker Registry?

A central place to store and distribute docker images

Stores the layers and the description of how they make


up an image
Implements a common API agreed upon by Docker
clients
Several Implementations
- A simple web server to make images available
- A complete web application
- Services like the Docker Hub contain a registry

More technical explanation


WHY
Run everywhere
Regardless of kernel version
(2.6.32+)
Regardless of host distro
Physical or virtual, cloud or not
Container and host architecture
must match*

Run anything
If it can run on the host, it can run
in the container
i.e. if it can run on a Linux kernel, it
can run

WHAT
High LevelIts a lightweight VM
Own process space
Own network interface
Can run stuff as root
Can have its own /sbin/init
(different from host)
<<machine container>>

Low LevelIts chroot on steroids


Can also not have its own /sbin/init
Container=isolated processes
Share kernel with host
No device emulation (neither HVM
nor PV) from host)
<<application container>>

Stores the layers and the description of how


they make up an image
Implements a common API agreed upon by
Docker clients
Several Implementations
A simple web server to make images available
A complete web application
Services like the Docker Hub contain a registry

S-ar putea să vă placă și