Top Banner
Docker. Open Source. Container. Ship and Run. Namics. Jeremy Haas. Software Engineer. 29. Juli 2014
26

Introduction to Docker - What is it and how is it compared to VM's

Jul 14, 2015

Download

Technology

Jeremy Haas
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to Docker - What is it and how is it compared to VM's

Docker. Open Source. Container. Ship and Run. Namics.

Jeremy Haas. Software Engineer.

29. Juli 2014

Page 2: Introduction to Docker - What is it and how is it compared to VM's

Namics.03.11.2014 Docker. Open Source.Container. Ship and Run.2

AN OPEN SOURCE

PROJECT TO PACK,

SHIP AND RUN ANY

APPLICATION AS A

Page 3: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Container. Cargo. Analogy.

03.11.2014 3 Docker. Open Source.Container. Ship and Run.

Page 4: Introduction to Docker - What is it and how is it compared to VM's

Namics.

The challenge.

03.11.2014 Docker. Open Source.Container. Ship and Run.4

Page 5: Introduction to Docker - What is it and how is it compared to VM's

Namics.

The matrix from hell.

03.11.2014 Docker. Open Source.Container. Ship and Run.5

Page 6: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Cargo transport pre 1960.

03.11.2014 Docker. Open Source.Container. Ship and Run.6

Page 7: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Also a matrix from hell.

03.11.2014 Docker. Open Source.Container. Ship and Run.7

Page 8: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Solution: Intermodal shipping container.

03.11.2014 Docker. Open Source.Container. Ship and Run.8

Page 9: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Docker is a Container System for Code.

03.11.2014 Docker. Open Source.Container. Ship and Run.9

Page 10: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Docker. Matrix from heaven.

03.11.2014 Docker. Open Source.Container. Ship and Run.10

Page 11: Introduction to Docker - What is it and how is it compared to VM's

Namics.

About Docker.

03.11.2014 11 Docker. Open Source.Container. Ship and Run.

Page 12: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Numbers. Numbers. Numbers.

Initial release: March 13, 2013

74 Releases

Current release: V1.1.2

Now (28.07.2014)

13‘900 stars

2‘500 forks

9‘700 commits

540 contributors

14,000 “Dockerized” apps

2.75 million downloads

03.11.2014 12 Docker. Open Source.Container. Ship and Run.

Page 13: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Containers.

Containers are lightweight

Typical laptop runs 10-100 containers easily

Typical server can run 100-1000 containers

Containers can run at native speeds

Yes, they can!

http://qiita.com/syoyo/items/bea48de8d7c6d8c73435

03.11.2014 Docker. Open Source.Container. Ship and Run.13

Page 14: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Deploy reliably & consistently

If it works locally, it will work on the server

Run everywhere, With the exact same behaviour

Regardless of kernel version

Regardless of host distro

Physical or virtual, cloud or not

03.11.2014 14 Docker. Open Source.Container. Ship and Run.

Page 15: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Containers vs. virtual machines

03.11.2014 15 Docker. Open Source.Container. Ship and Run.

Page 16: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Containers vs. VMs.

03.11.2014 Docker. Open Source.Container. Ship and Run.16

Page 17: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Containers vs. VMs.

03.11.2014 Docker. Open Source.Container. Ship and Run.17

Page 18: Introduction to Docker - What is it and how is it compared to VM's

Namics.

The Docker system.

03.11.2014 18 Docker. Open Source.Container. Ship and Run.

Page 19: Introduction to Docker - What is it and how is it compared to VM's

Namics.

The Docker system.

03.11.2014 Docker. Open Source.Container. Ship and Run.19

Page 20: Introduction to Docker - What is it and how is it compared to VM's

Namics.

AUFS – advanced multi layered unification fs

03.11.2014 Docker. Open Source.Container. Ship and Run.20

Page 21: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Docker Images.

03.11.2014 Docker. Open Source.Container. Ship and Run.21

Images are read-only.

Containers are built using images as the base.

Images without parent images are base images.

To make a new custom image, you have to commit a

container

Page 22: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Docker Lifecycle.

03.11.2014 Docker. Open Source.Container. Ship and Run.22

Page 23: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Docker Hub.

Community (stars, comments, download statistics)

Manage & browse docker repositories

Public and private options

Unlimited free public repositories

One free private repository

~$1/month per additional private repository

03.11.2014 Docker. Open Source.Container. Ship and Run.23

Page 24: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Private Registry.

Pros

Independent of Docker.io registry

In-house registry (Storage/Backup)

Proprietary code / Confidential information

Cons

Chaos!

No GUI (not yet, Namics Lab?)

03.11.2014 Docker. Open Source.Container. Ship and Run.24

Page 25: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Docker. More Information.

www.docker.io

Documentation

Getting started (tutorial, installation, guide, etc)

Introductory whitepaper

Github: dotcloud/docker

IRC: freenode #docker

Google Group: docker-user

Twitter: @docker

Meetups: www.docker.io/meetups

03.11.2014 Docker. Open Source.Container. Ship and Run.25

Page 26: Introduction to Docker - What is it and how is it compared to VM's

Namics.

Vielen Dank für deine Aufmerksamkeit.

[email protected]

© Namics

03.11.2014 26 Docker. Open Source.Container. Ship and Run.