Skip to content

Commit 3d25df8

Browse files
aevesdockerduffuniverseedu-diaz
authored
publish updates from main (#22533)
Automated pull request for publishing docs updates. --------- Co-authored-by: Andrey Sobolev <[email protected]> Co-authored-by: Eduardo Diaz <[email protected]> Co-authored-by: Allie Sadler <[email protected]>
2 parents 2d48c21 + 11f970e commit 3d25df8

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

content/manuals/compose/how-tos/dependent-images.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ weight: 50
99

1010
To reduce push/pull time and image weight, a common practice for Compose applications is to have services
1111
share base layers as much as possible. You will typically select the same operating system base image for
12-
all services. But you also can get one step further sharing image layers when your images share the same
12+
all services. But you can also get one step further by sharing image layers when your images share the same
1313
system packages. The challenge to address is then to avoid repeating the exact same Dockerfile instruction
1414
in all services.
1515

1616
For illustration, this page assumes you want all your services to be built with an `alpine` base
17-
image and install system package `openssl`.
17+
image and install the system package `openssl`.
1818

1919
## Multi-stage Dockerfile
2020

@@ -161,4 +161,4 @@ Bake can also be selected as the default builder by editing your `$HOME/.docker/
161161
}
162162
...
163163
}
164-
```
164+
```

content/manuals/compose/how-tos/environment-variables/envvars.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Compose can set the project name in different ways. The level of precedence (fro
5050

5151
1. The `-p` command line flag
5252
2. `COMPOSE_PROJECT_NAME`
53-
3. The top level `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
5454
a series of config files specified using `-f`)
5555
4. The `basename` of the project directory containing the config file (or
5656
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
7878
```
7979
The path separator can also be customized using [`COMPOSE_PATH_SEPARATOR`](#compose_path_separator).
8080

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).
8282

8383
### COMPOSE\_PROFILES
8484

8585
Specifies one or more profiles to be enabled when `docker compose up` is run.
8686

8787
Services with matching profiles are started as well as any services for which no profile has been defined.
8888

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
9090
`frontend` profile as well as any services without a profile specified.
9191

9292
If specifying multiple profiles, use a comma as a separator.
9393

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.
9595

9696
```console
9797
COMPOSE_PROFILES=frontend,debug
9898
```
9999

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).
101101

102102
### COMPOSE\_CONVERT\_WINDOWS\_PATHS
103103

@@ -179,7 +179,7 @@ When enabled, Compose displays a navigation menu where you can choose to open th
179179
- Supported values:
180180
- `true` or `1`, to enable
181181
- `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`
183183

184184
### COMPOSE\_EXPERIMENTAL
185185

content/manuals/compose/how-tos/oci-artifact.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,9 @@ Do you want to continue? [y/N]: y
141141
142142
Your compose stack "oci://registry.example.com/stack:latest" is stored in "~/Library/Caches/docker-compose/964e715660d6f6c3b384e05e7338613795f7dcd3613890cfa57e3540353b9d6d"
143143
```
144+
145+
The `docker compose publish` command supports non-interactive execution, letting you skip the confirmation prompt by including the `-y` (or `--yes`) flag:
146+
147+
```console
148+
$ docker compose publish -y username/my-compose-app:latest
149+
```

0 commit comments

Comments
 (0)