You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/manuals/compose/how-tos/profiles.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,9 @@ If you want to enable all profiles at the same time, you can run `docker compose
85
85
86
86
## Auto-starting profiles and dependency resolution
87
87
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.
89
89
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:
91
91
- They are also explicitly targeted, or
92
92
- The profile is explicitly enabled using `--profile` or `COMPOSE_PROFILES`.
0 commit comments