Problem Statement
In Docker Compose version 3.9+, what feature allows activating only some services in a multi-profile setup?
Explanation
Compose profiles let you tag services with `profiles: ["dev"]` or `profiles: ["prod"]`. When running `docker compose --profile prod up` only services tagged for prod plus default run. This helps reuse the same compose file for multiple environments. Refer to official docs.
