Slide 1

Slide 1 text

Good Morning.

Slide 2

Slide 2 text

docker Python Indonesia Meet Up October 2013 Sefrinaldi | @sfrnldi Software Engineer at Infinyscloud

Slide 3

Slide 3 text

I’m a .Net guy.

Slide 4

Slide 4 text

Infinyscloud.com

Slide 5

Slide 5 text

@sfrnldi

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Knowing each other...

Slide 8

Slide 8 text

Docker is...

Slide 9

Slide 9 text

A container management tool.

Slide 10

Slide 10 text

Created by folks at dotCloud

Slide 11

Slide 11 text

Based on dotCloud backend engine

Slide 12

Slide 12 text

..to make LXC easier to use.

Slide 13

Slide 13 text

LXC Let you run a Linux system within another Linux system

Slide 14

Slide 14 text

Linux Container “A group of processes on a Linux box, put together in an isolated env”.

Slide 15

Slide 15 text

Re-write

Slide 16

Slide 16 text

Reasons to use Docker

Slide 17

Slide 17 text

You’re a hipster

Slide 18

Slide 18 text

Re-installing Ubuntu from scratch is not fun.

Slide 19

Slide 19 text

The only possible thing format to ship code with it's environment is using VM

Slide 20

Slide 20 text

VM uses too many resource.

Slide 21

Slide 21 text

Want to ship everything around the application, configuration, libs used, etc etc...

Slide 22

Slide 22 text

Developer can guaranty that what he has create and run here can run smoothly over there.

Slide 23

Slide 23 text

The chalenges.

Slide 24

Slide 24 text

The chalenges

Slide 25

Slide 25 text

The Matrix From Hell

Slide 26

Slide 26 text

The solution.

Slide 27

Slide 27 text

Create a standard shipment method.

Slide 28

Slide 28 text

The solution

Slide 29

Slide 29 text

“Build once...run anywhere” ~ Developer

Slide 30

Slide 30 text

“Configure once...run anything” ~ DevOps

Slide 31

Slide 31 text

Docker under the hood.

Slide 32

Slide 32 text

File System

Slide 33

Slide 33 text

Docker Layers Read-only

Slide 34

Slide 34 text

Docker Image The read- only layer

Slide 35

Slide 35 text

Docker Container

Slide 36

Slide 36 text

Docker Container

Slide 37

Slide 37 text

Docker Index / Registry

Slide 38

Slide 38 text

Getting started.

Slide 39

Slide 39 text

Dockerfile.

Slide 40

Slide 40 text

Dockerfile.

Slide 41

Slide 41 text

Build a Docker Image “docker build -t sfrnld/newimg .”

Slide 42

Slide 42 text

Pull an Image “docker pull ubuntu:quantal”

Slide 43

Slide 43 text

Get list of Docker images “docker image”

Slide 44

Slide 44 text

Create a Container “docker run -i -t ubuntu:quantal /bin/bash”

Slide 45

Slide 45 text

Get list of Docker container “docker ps -a”

Slide 46

Slide 46 text

Commit a Container “docker commit 275fd72a5f62 sfrnld/newimages”

Slide 47

Slide 47 text

Push an Image to Repository “docker push sfrnld/demo”

Slide 48

Slide 48 text

Let’s try it out!

Slide 49

Slide 49 text

Thanks for listening...