Orchestrating with Swarm
As a developer, you can create your applications based on microservices. Using containers to distribute your applications into different components will allow you to provide them with different functionalities and capabilities, such as scalability or resilience. Working with a standalone environment is simple with tools such as Docker Compose, but things get difficult when containers can run cluster-wide on different hosts. In this chapter, we are going to learn how Docker Swarm will allow us to orchestrate our application containers with a full set of features for managing scalability, networking, and resilience. We will review how orchestration requirements are included in the Docker container engine and how to implement each of our application’s specific needs.
This chapter will cover the following topics:
- Deploying a Docker Swarm cluster
- Providing high availability with Docker Swarm
- Creating tasks and services for your applications...