9 Alternative orchestration tools

 

This chapter covers

  • Running multiple containers with Docker and Docker Swarm
  • Modifying Docker Compose files to run on Docker Swarm
  • Running multiple containers with HashiCorp Nomad
  • Using Nomad’s built-in user interface to manage container jobs

A key goal of this book is to help you adopt using containers as your go-to-deployment strategy with any given application. We have seen that Kubernetes is an effective way to run and manage containers in production. While I tend to think that Kubernetes is valuable for projects of all sizes, it can be useful to understand a few outstanding alternatives: Docker Swarm and HashiCorp Nomad.

Docker Swarm is essentially Docker Compose distributed across a cluster of virtual machines. We’ll see how the technical implementation works, but it is essentially a slightly modified Docker Compose file that connects to worker machines running Docker. Docker Swarm is a good option for those who are already familiar with Docker Compose and want to scale their applications across multiple virtual machines.

9.1 Container orchestration with Docker Swarm

 
 

9.1.1 Preparing the Docker Swarm Manager

 
 

9.1.2 Docker Compose for Docker Swarm

 

9.1.3 Start Docker Swarm

 
 
 

9.1.4 Deploy a Docker Swarm Stack

 
 
 

9.2 HashiCorp Nomad

 
 
 
 

9.2.1 Preparing our Nomad cluster

 
 
 
 

9.2.2 Installing Nomad

 
 
 
 

9.2.3 Configuring the Nomad server

 
 
 
 

9.2.4 Configuring the Nomad Clients

 
 

9.2.5 Running containers with Nomad jobs

 
 
 

9.3 Summary

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage