Docker and CI/CD · Middle · Question 16 of 75
What are Compose profiles for?
- ✓Correct answer: Starting optional services only when a profile is enabled
- 2Measuring how much CPU each service uses
- 3Storing different user accounts for the registry
Explanation
For example an admin UI or a seeding job marked profiles: [tools] starts only with docker compose --profile tools up.