Docker Compose అనేది బహु-కంటైనర్ అనువర్తనాలను నిర్వచించడానికి మరియు నడపడానికి ఒకే YAML ఫైలు ఉపయోగించి తయారు చేయబడిన సాధనం. చాలా docker run కమాండ్లను మానవీయంగా నడపడానికి బదులుగా, మీ సమస్త సేవలను (అనువర్తనం, డేటాబేస్, క్యాష్) docker-compose.yml లో వర్ణించండి మరియు వాటిని ఒక కమాండ్తో కూడా ప్రారంభించండి.
Compose పరిష్కరించే సమస్య
A real app often has MULTIPLE containers: a web app + a database + a cache + ...
→ manually running each with docker run (ports, networks, volumes, env, dependencies)
is tedious, error-prone, and hard to reproduce/share
→ Compose defines the WHOLE stack in one file → start it all with one command.
