Skip to content

Commit a40e8a4

Browse files
committed
edit
1 parent 1b7f134 commit a40e8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/manuals/compose/how-tos/profiles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ If you want to enable all profiles at the same time, you can run `docker compose
8585

8686
## Auto-starting profiles and dependency resolution
8787

88-
When you explicitly target a service on the command line that has one or more profiles assigned, you do not need to enable the profile manually — Docker Compose will run that service regardless of whether its profile is activated. This is useful for running one-off services or debugging tools.
88+
When you explicitly target a service on the command line that has one or more profiles assigned, you do not need to enable the profile manually as Compose runs that service regardless of whether its profile is activated. This is useful for running one-off services or debugging tools.
8989

90-
However, only the targeted service (and any of its declared dependencies via depends_on) will be started. Other services that share the same profile will not be started unless:
90+
Only the targeted service (and any of its declared dependencies via `depends_on`) is started. Other services that share the same profile will not be started unless:
9191
- They are also explicitly targeted, or
9292
- The profile is explicitly enabled using `--profile` or `COMPOSE_PROFILES`.
9393

0 commit comments

Comments
 (0)