Intro to Docker - London meetup oct. 2013
-
Upload
stevedomin -
Category
Technology
-
view
116 -
download
5
description
Transcript of Intro to Docker - London meetup oct. 2013
![Page 1: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/1.jpg)
Introduction to
Steve DominDocker London Oct 2013
![Page 2: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/2.jpg)
Quick Survey
• have heard of Docker ?
• have tried Docker ?
• are using Docker in a project ?
How many of you :
![Page 3: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/3.jpg)
The challenge
![Page 4: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/4.jpg)
Let’s make an analogy
![Page 5: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/5.jpg)
The solution
![Page 6: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/6.jpg)
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.
![Page 7: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/7.jpg)
Underlying technologies
• Linux Containers a.k.a LXC
• Control groups and namespaces
• AUFS, a copy-on-write filesystem
![Page 8: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/8.jpg)
Containers vs VMs
![Page 9: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/9.jpg)
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/
![Page 10: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/10.jpg)
Try Docker on DigitalOcean
Register here http://tinyurl.com/dockerLDNwith the promo code DockerInLondon
for a $10 credit bonus
![Page 11: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/11.jpg)
Docker on OS X
• Launch Vagrant box with docker
• Build docker on OS X
• Alias docker to docker -H :4243
![Page 12: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/12.jpg)
Demo
![Page 13: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/13.jpg)
Use cases
• Build a PaaS
• Easy, automated application development
• Local dev environment
• Testing
![Page 14: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/14.jpg)
Docker ecosystem
• PaaS: dokku, flynn.io, deis, tsuru
• Orchard
• StriderCD
• UI’s (shipyard, docker-ui, dockland)
• CoreOS
![Page 15: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/15.jpg)
Cool projects
• http://memcachedasaservice.com
• http://tryrethink.info
• https://github.com/ptone/jiffylab
![Page 16: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/16.jpg)
Who’s playing with it
• Cloudflare
• eBay
• mailgun
• (GoCardless)
![Page 17: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/17.jpg)
Docker 1.0
• Designed to be pluggable
• LXC, Solaris Zones, BSD Jails, OpenVZ
• AUFS, BTRFS
• Read more about this: http://blog.docker.io/2013/08/getting-to-docker-1-0/
![Page 18: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/18.jpg)
Useful links
• http://docker.io
• Docs: http://docs.docker.io/
• IRC: #docker on freenode
• Google group: docker-user
• Twitter: @docker
• G+: Docker+
![Page 19: Intro to Docker - London meetup oct. 2013](https://reader034.fdocuments.in/reader034/viewer/2022042814/54c8825f4a795919268b4571/html5/thumbnails/19.jpg)
Thanks!
@stevedomin
(I’ve a limited amount of Docker stickers to give away)