Slide 1

Slide 1 text

Docker Machine, Swarm, and Compose: the future of distributed apps @ehazlett - @vieux

Slide 2

Slide 2 text

Machine

Slide 3

Slide 3 text

Machine Swarm

Slide 4

Slide 4 text

Machine Swarm Compose

Slide 5

Slide 5 text

Machine Beta

Slide 6

Slide 6 text

Timeline Oct Nov Dec Jan Feb Jun Proposal DockerCon EU Open Repository First Release Candidate Machine Beta Release Machine 1.0

Slide 7

Slide 7 text

Machine Beta: Features • Providers: EC2, DigitalOcean, VirtualBox • Management: Create, Remove, Start, Stop, … • Providers: Currently more than 10; 12 open PRs • Provisioning: Cloudinit for more OS choices, greater configuration control • TLS: Encryption & Authentication • Swarm Integration: Cluster management (create, scale, …) • Machine Server: REST API for integration DockerCon EU Beta Release

Slide 8

Slide 8 text

Demo: Local = Instance / VM b2d Docker CLI Machine

Slide 9

Slide 9 text

Demo: Cloud Provider = Instance / VM digitalocean provider-n rackspace Docker CLI Machine

Slide 10

Slide 10 text

Swarm Beta

Slide 11

Slide 11 text

Timeline Oct Nov Dec Jan Feb Jun Proof of Concept Friday Demo Global Hack Day Open Proposal Swarm Team Created DockerCon EU Open Repository First Release Candidate Swarm Beta Release Swarm 1.0

Slide 12

Slide 12 text

Swarm Beta: Features • Scheduler: Filters, Strategies (random, binpack) • Resource Management: Memory, CPU, Networking • Constraints: region=us-east, storage=ssd, … • Affinity: co-schedule containers • Expression Engine: ==, !=, regular expressions, … • TLS: Encryption & Authentication • “Pluggable” Discovery Backends: etcd, consul, zookeeper • API Parity to 76%: built-in proxy, attach, exec, images, … DockerCon EU Beta Release

Slide 13

Slide 13 text

Swarm Beta: Integrations • Fully integrated with Machine • Partially integrated with Compose • Mesos integration has started. • Swarm image officially distributed through the Hub.

Slide 14

Slide 14 text

Demo digitalocean rackspace Docker CLI Docker CLI Docker CLI = RAM: 2GB CPU: 2cores

Slide 15

Slide 15 text

Demo digitalocean rackspace = RAM: 2GB CPU: 2cores Docker CLI Docker CLI Swarm manager

Slide 16

Slide 16 text

Compose

Slide 17

Slide 17 text

• Isolated Docker development environments • Partially integrated with Swarm • Great for development, staging, and CI (not production yet) • Easily scale applications and services Compose: Features

Slide 18

Slide 18 text

Demo digitalocean rackspace Docker CLI Compose

Slide 19

Slide 19 text

github.com/docker/machine github.com/docker/swarm github.com/docker/compose @ehazlett - @vieux Thank You. Questions?