Docker and CI/CD · Junior · Question 23 of 75
What is Docker Compose used for?
- ✓Correct answer: Defining and running a multi-container app from one YAML file
- 2Merging several Dockerfiles into a single image
- 3Compressing images to reduce their size in a registry
Explanation
compose.yaml describes services (app, database, cache), their networks and volumes. docker compose up starts the whole stack.