Intro to Docker - London meetup oct. 2013

Post on 28-Jan-2015

115 views 5 download

Tags:

description

 

Transcript of Intro to Docker - London meetup oct. 2013

Introduction to

Steve DominDocker London Oct 2013

Quick Survey

• have heard of Docker ?

• have tried Docker ?

• are using Docker in a project ?

How many of you :

The challenge

Let’s make an analogy

The solution

What is Docker?

Docker is an engine that automates the deployment of any application as a lightweight, portable, self-sufficient container that will run

virtually anywhere.

Underlying technologies

• Linux Containers a.k.a LXC

• Control groups and namespaces

• AUFS, a copy-on-write filesystem

Containers vs VMs

Installing Docker• What you need:

• Linux Kernel 3.8 or above

• AUFS

• LXC

• Vagrant, APT repo, binary download, from source

• http://docs.docker.io/en/latest/installation/

Try Docker on DigitalOcean

Register here http://tinyurl.com/dockerLDNwith the promo code DockerInLondon

for a $10 credit bonus

Docker on OS X

• Launch Vagrant box with docker

• Build docker on OS X

• Alias docker to docker -H :4243

Demo

Use cases

• Build a PaaS

• Easy, automated application development

• Local dev environment

• Testing

Docker ecosystem

• PaaS: dokku, flynn.io, deis, tsuru

• Orchard

• StriderCD

• UI’s (shipyard, docker-ui, dockland)

• CoreOS

Cool projects

• http://memcachedasaservice.com

• http://tryrethink.info

• https://github.com/ptone/jiffylab

Who’s playing with it

• Cloudflare

• eBay

• mailgun

• (GoCardless)

Useful links

• http://docker.io

• Docs: http://docs.docker.io/

• IRC: #docker on freenode

• Google group: docker-user

• Twitter: @docker

• G+: Docker+

Thanks!

@stevedomin

(I’ve a limited amount of Docker stickers to give away)