Docker – Docker Stacks

How to Setup a Node.js Application Using PM2

In this chapter, we will bring together all that we’ve learned from the first six chapters and use it to define, deploy, and manage multi-container applications. We will achieve this via the use of Docker stacks. We are going to learn how to use Docker stacks and the YAML files required to define multi-container applications. And we will leverage what we learned about Docker services, Docker volumes, Docker swarm, and Docker networking to create full-featured multi-service Docker-based applications.

The largest cargo ship is 400 meters long and can carry between 15,000 and 18,000 shipping containers!

In this chapter, we will cover the following topics:

  • Using Docker stacks
  • Deploying a multi-service Docker application
  • Creating and using compose (stack) YAML files
  • Scaling a deployed multi-service Docker application

Comments are closed.