build replicable environments @ docker paris

16
Build replicable environments

Upload: arnaud-breton

Post on 22-Jun-2015

942 views

Category:

Technology


0 download

DESCRIPTION

Feedback talk about our experience @mention (https://mention.com) with Docker to build and deploy replicable environments

TRANSCRIPT

Page 1: Build replicable environments @ Docker Paris

Build replicable environments

Page 2: Build replicable environments @ Docker Paris

@arnaud_breton Full-stack developer

Page 3: Build replicable environments @ Docker Paris

Easily monitor the (social) web with mention

Page 4: Build replicable environments @ Docker Paris
Page 5: Build replicable environments @ Docker Paris

Context ● Fast growing team

● Structure development workflow

● Half a day to set up a new environment

Page 6: Build replicable environments @ Docker Paris
Page 7: Build replicable environments @ Docker Paris
Page 8: Build replicable environments @ Docker Paris

OR ?

Page 9: Build replicable environments @ Docker Paris

AND !

Page 10: Build replicable environments @ Docker Paris
Page 11: Build replicable environments @ Docker Paris

One container to rule them all? full-stack container vs one container per

stack

Page 12: Build replicable environments @ Docker Paris

Data containers (Docker’s volumes)

Page 13: Build replicable environments @ Docker Paris

docker run -d -v /var/lib/mysql -name db_data tianon/true

Page 14: Build replicable environments @ Docker Paris

docker run -d --volumes-from db_data mention/awesome-app

Page 15: Build replicable environments @ Docker Paris

Where are we?● Multiple running containers (CI, local, staging)

● One hour to deploy (80% improvement!)

● Yet even more room to improve

● Still at an early stage

Page 16: Build replicable environments @ Docker Paris

http://bit.ly/mention-docker