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

    View Slide

  2. Machine

    View Slide

  3. Machine Swarm

    View Slide

  4. Machine Swarm Compose

    View Slide

  5. Machine Beta

    View Slide

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

    View Slide

  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

    View Slide

  8. Demo: Local = Instance / VM
    b2d
    Docker
    CLI
    Machine

    View Slide

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

    View Slide

  10. Swarm Beta

    View Slide

  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

    View Slide

  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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  16. Compose

    View Slide

  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

    View Slide

  18. Demo
    digitalocean rackspace
    Docker
    CLI
    Compose

    View Slide

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

    View Slide