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/environment-variables/envvars.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Compose can set the project name in different ways. The level of precedence (fro
50
50
51
51
1. The `-p` command line flag
52
52
2.`COMPOSE_PROJECT_NAME`
53
-
3. The toplevel `name:` variable from the config file (or the last `name:` from
53
+
3. The top-level `name:` variable from the config file (or the last `name:` from
54
54
a series of config files specified using `-f`)
55
55
4. The `basename` of the project directory containing the config file (or
56
56
containing the first config file specified using `-f`)
@@ -78,26 +78,26 @@ Specifies the path to a Compose file. Specifying multiple Compose files is suppo
78
78
```
79
79
The path separator can also be customized using [`COMPOSE_PATH_SEPARATOR`](#compose_path_separator).
80
80
81
-
See also the [command-line options overview](/reference/cli/docker/compose/_index.md#command-options-overview-and-help) and [using `-f` to specify name and path of one or more Compose files](/reference/cli/docker/compose/_index.md#use--f-to-specify-name-and-path-of-one-or-more-compose-files).
81
+
See also the [command-line options overview](/reference/cli/docker/compose/_index.md#command-options-overview-and-help) and [using `-f` to specify name and path of one or more Compose files](/reference/cli/docker/compose/_index.md#use--f-to-specify-the-name-and-path-of-one-or-more-compose-files).
82
82
83
83
### COMPOSE\_PROFILES
84
84
85
85
Specifies one or more profiles to be enabled when `docker compose up` is run.
86
86
87
87
Services with matching profiles are started as well as any services for which no profile has been defined.
88
88
89
-
For example, calling `docker compose up`with `COMPOSE_PROFILES=frontend` selects services with the
89
+
For example, calling `docker compose up`with `COMPOSE_PROFILES=frontend` selects services with the
90
90
`frontend` profile as well as any services without a profile specified.
91
91
92
92
If specifying multiple profiles, use a comma as a separator.
93
93
94
-
This following example enables all services matching both the `frontend` and `debug` profiles and services without a profile.
94
+
The following example enables all services matching both the `frontend` and `debug` profiles and services without a profile.
95
95
96
96
```console
97
97
COMPOSE_PROFILES=frontend,debug
98
98
```
99
99
100
-
See also [Using profiles with Compose](../profiles.md) and the [`--profile` command-line option](/reference/cli/docker/compose/_index.md#use---profile-to-specify-one-or-more-active-profiles).
100
+
See also [Using profiles with Compose](../profiles.md) and the [`--profile` command-line option](/reference/cli/docker/compose/_index.md#use-profiles-to-enable-optional-services).
101
101
102
102
### COMPOSE\_CONVERT\_WINDOWS\_PATHS
103
103
@@ -179,7 +179,7 @@ When enabled, Compose displays a navigation menu where you can choose to open th
179
179
- Supported values:
180
180
-`true` or `1`, to enable
181
181
-`false` or `0`, to disable
182
-
- Defaults to: `1` if you obtained Docker Compose through Docker Desktop, otherwise default is `0`
182
+
- Defaults to: `1` if you obtained Docker Compose through Docker Desktop, otherwise the default is `0`
Copy file name to clipboardExpand all lines: content/manuals/compose/how-tos/oci-artifact.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,3 +141,9 @@ Do you want to continue? [y/N]: y
141
141
142
142
Your compose stack "oci://registry.example.com/stack:latest" is stored in "~/Library/Caches/docker-compose/964e715660d6f6c3b384e05e7338613795f7dcd3613890cfa57e3540353b9d6d"
143
143
```
144
+
145
+
The `docker compose publish` command supports non-interactive execution, letting you skip the confirmation prompt by including the `-y` (or `--yes`) flag:
0 commit comments