Date post: | 15-Aug-2015 |
Category: |
Technology |
Upload: | enderson-tadeu-maia |
View: | 26 times |
Download: | 0 times |
MINIMALIST OPERATING SYSTEMS FOR CONTAINERS
@endersonmaia
You’ll see
What’s a container
Container Implementations
Containers vs. VMs
Minimalist OSes for Containers
Docker and its Containers Images
What’s a container ?Operating System Virtualization
Isolation
processes
filesystem
network
users
"chroot on steroids"
Container Implementationschroot (1982)
FreeBSD Jail (2000)
Linux-VServer (2001)
OpenVZ (2005)
LinuX Containers (LXC) (2008)
Docker (2013)
rkt ( 2014)
FONTE: HTTP://EN.WIKIPEDIA.ORG/WIKI/OPERATING-SYSTEM-LEVEL_VIRTUALIZATION
Containers vs. VMs
Less overhead
Faster start
Greater density
Portability *
Containers vs. VMs
Docker
Image Management
Resource, Filesystem (UnionFS) & Network Isolation
Resource Control (cgroups)
Sharing
Process Management
DEMO
Container Host OSes
Small footprint
Atomic updates
No package management
Everything* runs on a container
Tools for cluster management & containers announcement and discovery *
boot2docker
Lightweight Linux for Docker
based on Tiny Core Linux
VirtualBox
27MB and boots in ~5s
docker, rkt
etcd
fleet
flannel
alpha, beta, stable channels
safe-rollback
kexec
Fedora/RedHat
SELinux
rpm-ostree
RedHat Enterprise Registry
Cockpit
Snappy Ubuntu Core
the same
image-based
transactional
frameworks
snappy apps (like packages)
Snappy Ubuntu Core
Docker as PID 1
20MB
Optimized for vSphere
supports Docker, rkt, and the Pivotal Garden container specifications
Project Lightwave
Docker Container Images
Docker Language Stack
c/c++ (gcc)
clojure
go (golang)
hy (hylang)
rails and ruby
java
node
perl
php
python
…
DEMO
QUESTIONS ?
@endersonmaia