Everything open source
May 16–17, 2016: Training & Tutorials
May 18–19, 2016: Conference
Austin, TX

Deployment and orchestration at scale with Docker Swarm

Jerome Petazzoni (Tiny Shell Script LLC), AJ Bowen (Dominant Paradigm Subversion, Inc)
1:30pm–5:00pm Tuesday, 05/17/2016
The New Stuff
Location: Ballroom F Level: Intermediate
Average rating: ****.
(4.70, 23 ratings)

Prerequisite knowledge

Participants should be familiar with Docker and know basic Docker commands (docker run, docker ps, docker stop, etc.) as well as the Dockerfile syntax (at least the RUN, CMD, and EXPOSE commands). Ideally, you should have experimented with Compose. If you have limited Docker knowledge but consider yourself a quick learner, don't hesitate to attend. There will be numerous examples and demos, and you'll be able to test them out on your own Docker cluster.

Materials or downloads needed in advance

You won't need to pre-install Docker before the course. Each participant will be given credentials to connect to an individual cluster of virtual machines. Participants will only need a computer with a SSH client.

Windows users, if you don't have an SSH client, you can get putty or Git BASH.


You’ve installed Docker, you know how to run containers, you’ve written Dockerfiles to build container images for your applications (or parts of your applications), and you’re using Compose to describe your application stack. Your app is running beautifully on your local Docker Engine, but how do you take it to production? How do you go from a single-node setup to a scalable, highly available deployment? How do you address production-related requirements like logging, backups, remote access, and security upgrades?

Jérôme Petazzoni and AJ Bowen answer those questions using tools from the Docker ecosystem as they demonstrate building an app from development to production with Docker. Jérôme and AJ run a sample app on a single node with Compose and add scaling and load balancing. They then provision a Swarm cluster with Docker Machine and implement multihost communication with overlay networking. The result will be a highly available, scalable deployment for the application. The whole workshop will use real-world demo applications with web frontends, web services, background workers, and stateful data stores in order to cover a wide range of use cases.

Topics include:

  • Deploying and configuring clusters with the help of Docker Machine
  • Setting up multihost networking between containers using Docker’s overlay network driver
  • Demonstrating the use of storage plugins and logging drivers
  • Consolidating a cluster of nodes with Docker Swarm
  • Implementing load balancing and service discovery

Note: if you participated in last year’s tutorial on Docker and orchestration, this is a vastly updated version, including a strong emphasis on Swarm (which is now stable) and Docker’s advanced storage and network features.

Photo of Jerome Petazzoni

Jerome Petazzoni

Tiny Shell Script LLC

Jérôme Petazzoni is a DevOps advocate and international speaker. He was born and raised in France, where he worked on geographic information systems, voice over IP, video streaming, and encoding and started a cloud hosting company back when EC2 wasn’t an Amazon product yet. In California he built and scaled the dotCloud PaaS, which eventually gave birth to Docker. While at Docker, he represented the company at hundreds of conferences and events and trained thousands of engineers to use Docker, Swarm, and Kubernetes. He’s fluent in many languages (mostly programming ones), owns a dozen musical instruments, and can play the theme of Zelda on most of them.

Photo of AJ Bowen

AJ Bowen

Dominant Paradigm Subversion, Inc

AJ Bowen is on a mission to containerize all the things and help others to do the same. In the past, AJ has done technical support, evangelism, and customer and developer advocacy at Gandi. Her other experience includes heavy involvement in the Occupy movement in Kansas City, where she discovered the delightful and complicated world of horizontal organization in groups of passionate people with wildly diverse political perspectives, and humanitarian work in Haiti. AJ doesn’t like being told what to do—or telling others what to do—and is on a constant mission to eliminate unnecessary hierarchy.

Comments on this page are now closed.


Picture of Jerome Petazzoni
Jerome Petazzoni
05/23/2016 2:16pm CDT

@Jacob: the slides are on http://container.training/

Jacob Fraser
05/23/2016 1:37pm CDT

How do I get the slides from this tutorial?