seattle docker meetup march 13th 2014

19
Docker Seattle March 13 th , 2014 @

Upload: avi-cavale

Post on 08-May-2015

556 views

Category:

Technology


1 download

DESCRIPTION

Slides from March Docker meetup at Shippable. A quick overview of Docker, whats new in 0.9 and a demo of how Shippable uses Docker to simplify software development workflow

TRANSCRIPT

Page 1: Seattle Docker meetup March 13th 2014

Docker SeattleMarch 13th, 2014

@

Page 2: Seattle Docker meetup March 13th 2014

Who am I?

Avi CavaleCEO@avinci | [email protected]

@

Page 3: Seattle Docker meetup March 13th 2014

Shippable helps developers ship code faster by providing a hosted CI/CD service that automates builds, tests & deployment

What we do..

Page 4: Seattle Docker meetup March 13th 2014

1.0 launched on 3/11

300 + users registered in last 48hrs

Over 1300+ builds

We just Shipped 1.0

Page 5: Seattle Docker meetup March 13th 2014

Our Stack

Page 6: Seattle Docker meetup March 13th 2014

Speed

Simplicity

$

Our uniqueness

Page 7: Seattle Docker meetup March 13th 2014

…because of

Page 8: Seattle Docker meetup March 13th 2014

…that can be manipulated using standard operations and run consistently on virtually any hardware platform

An engine that enables any payload to be encapsulated as a lightweight, portable, self-sufficient container…

What is Docker?

Page 9: Seattle Docker meetup March 13th 2014

Build once…(finally) run anywhere– A clean, safe, hygienic and portable runtime environment for your app.

– No worries about missing dependencies, packages and other pain points during subsequent deployments.

– Run each app in its own isolated container, so you can run various versions of libraries and other dependencies for each app without worrying

– Automate testing, integration, packaging…anything you can script

– Reduce/eliminate concerns about compatibility on different platforms, either your own or your customers.

Why devs care?

Page 10: Seattle Docker meetup March 13th 2014

Configure once…run anything

– Make the entire lifecycle more efficient, consistent, and repeatable

– Increase the quality of code produced by developers.

– Eliminate inconsistencies between development, test, production, and customer environments

– Support segregation of duties

– Significantly improves the speed and reliability of continuous deployment and continuous integration systems

– Because the containers are so lightweight, address significant performance, costs, deployment, and portability issues normally associated with VMs

Why ops cares?

Page 11: Seattle Docker meetup March 13th 2014

What it really is, is this…

It is a VM without the overhead of a VM

Page 12: Seattle Docker meetup March 13th 2014

AppA

Hypervisor (Type 2)

Host OS

Server

GuestOS

Bins/Libs

AppA’

GuestOS

Bins/Libs

AppB

GuestOS

Bins/Libs

App A’

Docker

Host OS

Server

Bins/Libs

App A

Bins/Libs

App B

App B’

App B’

App B’

VM

Container

Containers are isolated,but share OS and, whereappropriate, bins/libraries

GuestOS

GuestOS

VM vs Container

Page 13: Seattle Docker meetup March 13th 2014

Docker 0.9 Shipped on 2/10

Page 14: Seattle Docker meetup March 13th 2014

• Execution drivers– Support for multiple isolation tools– OpenVZ, systemd-nspawn, libvirt-lxc, libvirt-sandbox, qemu/kvm, BSD

Jails, Solaris Zones

• New default driver : libcontainer– Alternative to LXC which was default until now– Claimed to be more stable– Better access to kernel’s container API

• namespaces, control groups, capabilities, apparmor profiles, network interfaces and firewalling rules

– No cross Linux version side-effects

What’s new?

Page 15: Seattle Docker meetup March 13th 2014

Pictorially

Page 16: Seattle Docker meetup March 13th 2014

0.10 will be a release candidate for production-ready 1.0 launch

More importantly

Page 17: Seattle Docker meetup March 13th 2014

Code

Test

How Shippable uses Docker

CI Engine

Custom Container Repo

Community Containers

Developers

Shippable Ops

Package templateNode 1.5, grunt,

mongoose

AppContainer Repo

Stage Prod

App

Page 18: Seattle Docker meetup March 13th 2014

Demowww.shippable.com

Page 19: Seattle Docker meetup March 13th 2014

Thank You