Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Docker machine, swarm and compose: the future of distributed apps

Docker machine, swarm and compose: the future of distributed apps

Talk about docker machine, swarm and compose given at RackSpace Solve SF 2015 with https://twitter.com/ehazlett

Victor Vieux

March 04, 2015
Tweet

More Decks by Victor Vieux

Other Decks in Technology

Transcript

  1. Docker Machine, Swarm, and Compose: the future of distributed apps

    @ehazlett - @vieux
  2. Machine

  3. Machine Swarm

  4. Machine Swarm Compose

  5. Machine Beta

  6. Timeline Oct Nov Dec Jan Feb Jun Proposal DockerCon EU

    Open Repository First Release Candidate Machine Beta Release Machine 1.0
  7. 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
  8. Demo: Local = Instance / VM b2d Docker CLI Machine

  9. Demo: Cloud Provider = Instance / VM digitalocean provider-n rackspace

    Docker CLI Machine
  10. Swarm Beta

  11. 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
  12. 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
  13. Swarm Beta: Integrations • Fully integrated with Machine • Partially

    integrated with Compose • Mesos integration has started. • Swarm image officially distributed through the Hub.
  14. Demo digitalocean rackspace Docker CLI Docker CLI Docker CLI =

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

    Docker CLI Swarm manager
  16. Compose

  17. • Isolated Docker development environments • Partially integrated with Swarm

    • Great for development, staging, and CI (not production yet) • Easily scale applications and services Compose: Features
  18. Demo digitalocean rackspace Docker CLI Compose

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