devops meetup nl - docker (oct 2014)

Post on 28-Nov-2014

599 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Docker presentation Sogeti DevOps Community Meet-Up ( 2014 Oct 16 - Netherlands / Amersfoort )

TRANSCRIPT

DevOps meet up

16 oct. 2014 http://labs.sogeti.com/

Laurent Guérin National practice leader

@ltguerin

laurent.guerin@sogeti.com

Benoit Wilcox Architect Solution

@WilcoxBenoit

benoit.wilcox@sogeti.com We are more Dev

than Ops ..

What is Docker ?

Docker today

A little more details

Some real advantages

How we use it

A little demo

Agenda

What is Docker ?

Docker today

A little more details

Some real advantages

How we use it

A little demo

Agenda

" Build, Ship and Run Any App, Anywhere" Docker.io

What is Docker ?

Credits : docker.io

What is Docker ?

Credits : docker.io

What is Docker ?

Credits : docker.io

What is Docker ?

Credits : docker.io

What is Docker ?

Credits : docker.io

This is not a Virtual Machine !!

What is Docker ?

What is Docker ?

Docker today

A little more details

Some real advantages

How we use it

A little demo

Agenda

Credits : docker.io

Docker today

The Docker HUB

Demo …

Docker today and the others …

?

Docker today and the others …

What is Docker ?

Docker today

A little more details

Some real advantages

How we use it

A little demo

Agenda

More details …

And if I work on Windows or Mac OS ?

More details …

And if I work on Windows or Mac OS ?

You can but … with a Proxy VM … for the moment

Credits : docker.io

More details …

Dockerfile

Base image

Dockerfile

Java Installation

Dockerfile

MySQL Installation

Dockerfile

Environnement and files

Dockerfile

Port exposition

HOST A

Container

Zip, WAR, JAR …

8080 3306

8082 3306

HOST B

Container

Zip, WAR, JAR …

8080 3306

8082 3306

Image

Zip, WAR, JAR …

8080 3306

Dockerfile

Run….

Build …

Some real advantages

What is Docker ?

Docker today

A little more details

How we use it

A little demo

Agenda

Same package for all … Parameters management between Dev and Ops

– Logs – Ports

Isolated functional tests environment – One server for several projects – One project for several servers (benchmark tests)

These technologies embrace micro-services approach. The end of the "Damned, I don't understand, it works on my laptop…"

Some advantages

Devs : Don't care, hard coded Ops : Just redefine the mapping

What is Docker ?

Docker today

A little more details

Some real advantages

How we use it

A little demo

Agenda

Dev

Ops

Scripts

VCS

CI

QA Production

Performances

Dev Technical

Test

DEX, PTI …

Zip, WAR, JAR …

How we use it …

A classical context …

Dev

Ops

Scripts

VCS

CI

QA Prod

Perf

Dev Technical

Test

DEX, PTI …

Zip, WAR, JAR …

No communication No sharing

Break in the process of

deploying the application

How we use it …

A classical context …

Dev

Ops

Scripts

VCS

CI

QA Prod

Perf

Dev Technical

Test

DEX, PTI …

Zip, WAR, JAR …

How we use it …

A classical context …

Code Separation between App and Infra

Dev

Ops

Scripts

VCS

CI

QA Prod

Perf

Dev Technical

Test

DEX, PTI …

Zip, WAR, JAR …

How we use it …

No standard

Several manual operations Riks of errors Environment "In Demand" realy difficult

Dev

Ops

So …

How we use it …

Dev

Ops

VCS

How we use it …

Dev

Ops

VCS

Scripts

Continuous Delivery Platform

How we use it …

Image V1

Dev

Ops

VCS

Scripts

Continuous Delivery Platform

How we use it …

Zip, WAR, JAR …

We stop deliver a war, We deliver a server,

ready to run !

Image V1

Dev

Ops

VCS

Scripts

Continuous Delivery Platform

How we use it …

Zip, WAR, JAR …

Private Registry

Docker

Image V1

Image V2

Image V1

Dev

Ops

VCS

Scripts

Continuous Delivery Platform

Zip, WAR, JAR …

Private Registry

Docker

Image V1

Image V2

Dev

Training

QA

Prod

Perf

How we use it …

The last demo before a beer …

Thank you

Any questions ?

top related