Docker Swarm Mode

large h trans

solutions.hamburg · experten.werkstatt · September 9th, 2016


tgbyte bk
Thilo-Alexander Ginkel · TG Byte Software GmbH
thilo.ginkel@tgbyte.de · www.tgbyte.de

About us

TG Byte Software GmbH

  • Founded in 1998, located in Hamburg

  • Service Range

    • Software Development & Consulting

    • DevOps

    • Training & Coaching

  • Looking for freelancers to support us with various projects

Thilo-Alexander Ginkel

  • Passionate Software Engineer, IT Consultant & Trainer

  • Focus

    • Software Development & Architecture

    • DevOps

    • Troubleshooting

  • Software Development since 1994

Docker Swarm Mode

Docker Swarm Mode

  • Cluster management integrated with Docker Engine

    • Accessible via the regular Docker CLI

  • Built on top of SwarmKit (using Raft Consensus Algorithm)

    • Self-organizing (no dedicated cluster coordinator required)

  • New "service" concept as an abstraction on top of containers

  • Multi-host overlay networking

  • Service Discovery via DNS

  • Introduced in Docker 1.12

  • Not to be confused with the standalone Docker Swarm product

Docker Swarm Mode

Services

swarm diagram

Demo

Demo

Setup

  • Three nodes on Google Compute Engine

  • Running Docker 1.12.1 in Swarm Mode

  • Google Cloud load balancing for HTTPS termination and (pseudo-)HA

Demo

arch

Wrap-up & Outlook

Questions?

Thank you!

Image Credits