Lesson 17 / 26
Why Compose?
Define and run multi-container apps with a single command.
One YAML instead of many commands
Most real apps need several containers — an API, a database, a cache. Docker Compose lets you describe them all in one YAML file instead of typing out long docker run commands and manually wiring networks.