Files
Guillaume Lours f54284dfb1 correct compose down example with profile (#22278)
The down command used with profile will stop the services with a given
profile but also all the services without any profiles

## Description
Correct the section of stopping services with a specific profile in the
how-to profile documentation page

## Related issues or tickets
https://github.com/docker/compose/issues/12648
## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [x] Editorial review
- [ ] Product review

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-03-19 11:10:09 +00:00

438 B

Profiles help you adjust your Compose application for different environments or use cases by selectively activating services. Services can be assigned to one or more profiles; unassigned services start/stop by default, while assigned ones only start/stop when their profile is active. This setup means specific services, like those for debugging or development, to be included in a single compose.yml file and activated only as needed.