Docker Compose
- is a container orchestration tool for defining and running multi-container Docker applications within a single server
- with Compose, you use a YAML file (i.e. docker-compose.yml) to configure your application’s services
- is a declarative approach that replaces individual docker commands
Declarative Approach vs Imperative Approach
|
Declarative |
Imperative |
|---|---|
|
|
Versions
|
version |
command |
description |
|---|---|---|
|
v1 |
docker-compose |
deprecated |
|
v2 |
docker compose |
current |
Other
- Docker Compose vs Docker Swarm
List indent undo