Download - Docker in a big company

Transcript
Page 1: Docker in a big company

Docker in a big company

1

Page 2: Docker in a big company

2

• Damien DUPORTAL

• DevOps Engineer @ Worldline

• French living in Belgium (French Fries are actually Belgian)

• Former Teacher in engineering schools (EPSI, ENSG)

• Rock climber

/me

Page 3: Docker in a big company

3

• Twitter : @DamienDuportal

• Mail : [email protected]

• Github : github.com/dduportal

• Blog (Work In Progress) : dduportal.github.io

/me

Page 4: Docker in a big company

4

• 7 200 people around the World (17 countries)

• I.T. leader in e-payment & transactional activities

• European market : public and industry customers

• 1,1 billion € of turnover

• Part of the Atos group since 2004

Worldline, an Atos company

Page 5: Docker in a big company

• Why DevOps ?

• The path to Docker

• Problem ? Solutions !

• The future

• One more thing…

Docker in a big company

What’s the menu today ?

5

Page 6: Docker in a big company

6

Why Devops ?

Page 7: Docker in a big company

Why DevOps ?This is my dev. laptop :

7

Page 8: Docker in a big company

Why DevOps ?This is my production :

8

Page 9: Docker in a big company

9

Why Devops ?

Page 10: Docker in a big company

Separation of duties…

10

Why Devops ?

Page 11: Docker in a big company

11

Why Devops ?… leads to silos

(cc. Michael Ducy from Opscode)

Page 12: Docker in a big company

Why Devops ?Kind of classy silos !

12 (cc. Michael Ducy from Opscode)

Page 13: Docker in a big company

13

How to :

• Reduce TTM of a software part (ship ! Now !) ?

• Align IT offer to business needs ?

• Be more efficient against the silos ?

Why Devops ?

Page 14: Docker in a big company

Why Devops ?

Bottom-up

Top-Down

Page 15: Docker in a big company

15

Why Devops ?So we have to « goat »

(cc. Michael Ducy from Opscode)

Page 16: Docker in a big company

The path to Docker

Page 17: Docker in a big company

17

Use case :

• Linux : How to run « ls –l » ?

• Our tools : How to validate a « managed service » ?

• Network and clusters :

How to validate when my app scales ?

The path to Docker

Page 18: Docker in a big company

• Linux on Windows 7 : VirtualBox !

• Manage and share VMs : Vagrant !

• Provision your VMs : Shell or Chef !

The path to Docker

Page 19: Docker in a big company

Remember ?

The path to Docker

Page 20: Docker in a big company

With that stack :

The path to Docker

Page 21: Docker in a big company

Another problem : the learning curve

The path to Docker

Page 22: Docker in a big company

So why not Docker ?

• It’s fast (start & cache)

• It’s reproducible

• It’s easy to launch bunch of stuff

The path to Docker

Page 23: Docker in a big company

Problems ? Solutions !

Page 24: Docker in a big company

How to run a Docker daemon on Windows ?

• Stayin’ with Virtualbox

• The lightweight VM as possible

• Ready for dev

Problems ? Solutions !

Page 25: Docker in a big company

Boot2docker :

• 30 Mb

• Docker up-to-date and ready

• VirtualBox ready

Problems ? Solutions !

Page 26: Docker in a big company

How to reuse already made things ?

• Maintain already known workflow

• Easily share folders from Windows

• Limit configuration effort (proxy, certificates,

persistence)

Problems ? Solutions !

Page 27: Docker in a big company

Vagrant + dduportal/boot2docker :

• Vbox shared folder

• Provisioning

• « vagrant-proxyconf » plugin

Problems ? Solutions !

Page 28: Docker in a big company

How to provision the stack ?

• Dev. don’t care

• Dev. use Maven : describe

• Dev. want ops stuff and their stuff

Problems ? Solutions !

Page 29: Docker in a big company

Fig

• YAML text-based : shareable

• Hierarchy : intentional description

• Image or build your services

Problems ? Solutions !

Page 30: Docker in a big company

You said « run anywhere » ?

• Use of private IaaS (thru vagrant plugin)

• Env. differences (local / remote)

• Fig isn’t full-statically compiled (no b2d,

no busybox)

Problems ? Solutions !

Page 31: Docker in a big company

dduportal/fig Docker Image

• Debian-based

• Embeds a working fig

• Needs to share Docker socket

• Won’t be needed when ‘docker groups’

Problems ? Solutions !

Page 32: Docker in a big company

We got a blueprint !

Problems ? Solutions !

Vagrant

dduportal/fig

My App Stack

VirtualBox Private Sandbox IaaS

docker

Boot2docker VM Boot2docker VM Blueprint

Page 33: Docker in a big company

Problems ? Solutions !

Page 34: Docker in a big company

The future

Page 35: Docker in a big company

Near future :

• Private registry + private hub

• Share workstation inside Docker images

• Docker client on Windows ! You guys are awesome !

• Packer-based build for base images (reuse)

• Teach Docker to Dev and Op

The future

Page 36: Docker in a big company

The future

Page 37: Docker in a big company

A lot of ???

Multi Host ?

Networking ?

Monitoring ?

Migration ?

Orchestration

Provisioning

Testing ?

The futureJust kidding

PRODUCTION ?

Page 38: Docker in a big company

One more thing

Sup’ Steve

Page 39: Docker in a big company

The « Human stack »

Page 40: Docker in a big company

Solomon Hykes – SF DockerCon 2014 :

« The real value of Docker is not technology,

it’s getting people to agree on something»

The « Human stack »

Page 41: Docker in a big company

Docker is the « bottom-up » for devops.

I learned 2 things with that tool :

• It helps people communicate better : we can work and

share humanly

• It creates a learning context : people can see the

value of their jobs

The « Human stack »

Page 42: Docker in a big company

Docker makes technology

« human centric »

It’s true DevOps

Page 43: Docker in a big company

@people around Docker :

you’re awesome !

Page 44: Docker in a big company

Thank You.

44