Slide 1

Slide 1 text

Clojure REPL or cluster deployment with Docker (nth clj-syd 19)

Slide 2

Slide 2 text

Docker

Slide 3

Slide 3 text

Docker pack, ship and run LXC

Slide 4

Slide 4 text

LXC Definition LXC is a userspace interface for the Linux kernel containment features

Slide 5

Slide 5 text

LXC Linux Container “...something in the middle between

Slide 6

Slide 6 text

LXC Linux Container “...something in the middle between ★ a chroot on steroids and a

Slide 7

Slide 7 text

LXC Linux Container “...something in the middle between ★ a chroot on steroids and a ★ full fledged virtual machine.”

Slide 8

Slide 8 text

LXC Linux Container “...something in the middle between ★ a chroot on steroids and a ★ full fledged virtual machine.” The goal of LXC is to create an environment as close as possible as a standard Linux

Slide 9

Slide 9 text

LXC Linux Container “...something in the middle between ★ a chroot on steroids and a ★ full fledged virtual machine.” The goal of LXC is to create an environment as close as possible as a standard Linux without the need for a separate kernel

Slide 10

Slide 10 text

LXC Linux Container “...something in the middle between ★ a chroot on steroids and a ★ full fledged virtual machine.” The goal of LXC is to create an environment as close as possible as a standard Linux without the need for a separate kernel “If it can run on the Host, it can run in the Container”

Slide 11

Slide 11 text

LXC Linux Container

Slide 12

Slide 12 text

LXC ThoughtWorks technology radar

Slide 13

Slide 13 text

LXC ThoughtWorks technology radar

Slide 14

Slide 14 text

LXC ThoughtWorks technology radar

Slide 15

Slide 15 text

Docker

Slide 16

Slide 16 text

Docker Containers vs. VMs

Slide 17

Slide 17 text

Docker Containers vs. VMs

Slide 18

Slide 18 text

Docker Containers vs. VMs Docker Inc - http://docker.io/

Slide 19

Slide 19 text

Docker Concepts

Slide 20

Slide 20 text

Docker Concepts Image

Slide 21

Slide 21 text

Docker Concepts Container

Slide 22

Slide 22 text

Docker Concepts: Image and Containers Container Image Container Run Run

Slide 23

Slide 23 text

Docker Concepts: Image and Containers Host Container Container Container Image Image Run Run Run

Slide 24

Slide 24 text

Docker Basic Docker Functions

Slide 25

Slide 25 text

Docker Basic Docker Functions

Slide 26

Slide 26 text

Docker Basic Docker Functions Docker Inc - http://docker.io/

Slide 27

Slide 27 text

Docker Basic Docker Functions

Slide 28

Slide 28 text

Docker Deployment Host Container FS TCP Ports TCP Ports IPTables

Slide 29

Slide 29 text

Docker Deployment

Slide 30

Slide 30 text

Docker run

Slide 31

Slide 31 text

Docker Demo sudo docker run -i -t -rm ubuntu bash

Slide 32

Slide 32 text

Docker Demo sudo docker run -i -t -rm ubuntu bash # touch xxx # rm /bin/yyy

Slide 33

Slide 33 text

Docker Demo sudo docker run \ -i -t -rm \ filippovitale/java7 \ java -version

Slide 34

Slide 34 text

Docker http://index.docker.io/

Slide 35

Slide 35 text

Docker build

Slide 36

Slide 36 text

Docker Ubuntu Java7 Clojure-REPL

Slide 37

Slide 37 text

Docker Demo

Slide 38

Slide 38 text

Docker The whole Enchilada

Slide 39

Slide 39 text

Docker Ubuntu Java7 Clojure-REPL Zookeeper

Slide 40

Slide 40 text

Docker Demo Z Z Z C C C

Slide 41

Slide 41 text

Docker

Slide 42

Slide 42 text

Docker

Slide 43

Slide 43 text

Docker

Slide 44

Slide 44 text

Questions? Twitter @filippovitale BitBucket: filippovitale GitHub: filippovitale Docker Index: filippovitale

Slide 45

Slide 45 text

f in