11: Deploying apps with Docker Stacks
Deploying and managing cloud-native microservices applications at scale is hard. Fortunately, Docker Stacks are here to help.
I’ve split this chapter as follows:
- Deploying apps with Docker Stacks – The TLDR
- Build a Swarm lab
- The sample app
- Deploy the app
- Manage the app
Deploying apps with Docker Stacks – The TLDR
Docker Stacks combine Compose and Swarm to create a platform for easy deployment and management of complex multi-container apps on secure, highly available infrastructure.
You build a swarm, define your apps in Compose files, and deploy and manage them with the docker stack
command.
From an architecture perspective, stacks are at the top of the Docker application hierarchy — they build on top ...
Get Docker Deep Dive - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.