From 9d6f8f9d62c85d6c879326ca4482fb2e176038c3 Mon Sep 17 00:00:00 2001 From: genwhittTTD Date: Sun, 4 May 2025 13:18:22 -0400 Subject: [PATCH] edits to some headings --- .../docker/compose/v2/docs/reference/compose.md | 15 +++++++++------ .../compose/intro/compose-application-model.md | 2 +- content/reference/compose-file/build.md | 2 +- content/reference/compose-file/develop.md | 2 +- content/reference/compose-file/profiles.md | 2 +- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/compose.md b/_vendor/github.com/docker/compose/v2/docs/reference/compose.md index d1a1c2a4627..cc7ca6d9c27 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/compose.md +++ b/_vendor/github.com/docker/compose/v2/docs/reference/compose.md @@ -67,10 +67,12 @@ Define and run multi-container applications with Docker ## Examples -### Use `-f` to specify the name and path of one or more Compose files -Use the `-f` flag to specify the location of a Compose [configuration file](/reference/compose-file/). +### Specify the name and path of one or more Compose files with `-f` + +Use the `-f`lag to specify the location of a Compose [configuration file](/reference/compose-file/). + +#### Specify multiple Compose files -#### Specifying multiple Compose files You can supply multiple `-f` configuration files. When you supply multiple files, Compose combines them into a single configuration. Compose builds the configuration in the order you supply the files. Subsequent files override and add to their predecessors. @@ -112,7 +114,8 @@ configuration are relative to the current working directory. The `-f` flag is optional. If you don’t provide this flag on the command line, Compose traverses the working directory and its parent directories looking for a `compose.yaml` or `docker-compose.yaml` file. -#### Specifying a path to a single Compose file +#### Specify a path to a single Compose file + You can use the `-f` flag to specify a path to a Compose file that is not located in the current directory, either from the command line or by setting up a `COMPOSE_FILE` environment variable in your shell or in an environment file. @@ -124,7 +127,7 @@ get the postgres image for the db service from anywhere by using the `-f` flag a $ docker compose -f ~/sandbox/rails/compose.yaml pull db ``` -### Use `-p` to specify a project name +### Specify a project name with `-p` Each configuration has a project name. Compose sets the project name using the following mechanisms, in order of precedence: @@ -159,7 +162,7 @@ You can also enable multiple profiles, e.g. with `docker compose --profile front Profiles can also be set by `COMPOSE_PROFILES` environment variable. -### Configuring parallelism +### Configure parallelism Use `--parallel` to specify the maximum level of parallelism for concurrent engine calls. Calling `docker compose --parallel 1 pull` pulls the pullable images defined in the Compose file diff --git a/content/manuals/compose/intro/compose-application-model.md b/content/manuals/compose/intro/compose-application-model.md index 127e99501a9..e492df715bb 100644 --- a/content/manuals/compose/intro/compose-application-model.md +++ b/content/manuals/compose/intro/compose-application-model.md @@ -85,7 +85,7 @@ $ docker compose ps For a full list of all the Compose CLI commands, see the [reference documentation](/reference/cli/docker/compose/_index.md). -## Illustrative example +## Example The following example illustrates the Compose concepts outlined above. The example is non-normative. diff --git a/content/reference/compose-file/build.md b/content/reference/compose-file/build.md index 0d8706611c7..bd7abff8666 100644 --- a/content/reference/compose-file/build.md +++ b/content/reference/compose-file/build.md @@ -27,7 +27,7 @@ If `pull_policy` is missing from the service definition, Compose attempts to pul Compose with `build` support offers an option to push built images to a registry. When doing so, it doesn't try to push service images without an `image` attribute. Compose warns you about the missing `image` attribute which prevents images being pushed. -## Illustrative example +## Example The following example illustrates Compose Build Specification concepts with a concrete sample application. The sample is non-normative. diff --git a/content/reference/compose-file/develop.md b/content/reference/compose-file/develop.md index ba4c5c0c32d..293316bc06d 100644 --- a/content/reference/compose-file/develop.md +++ b/content/reference/compose-file/develop.md @@ -15,7 +15,7 @@ weight: 150 This page defines how Compose behaves to efficiently assist you and defines the development constraints and workflows set by Compose. Only a subset of Compose file services may require a `develop` subsection. -## Illustrative example +## Example ```yaml services: diff --git a/content/reference/compose-file/profiles.md b/content/reference/compose-file/profiles.md index 144c6fd7562..6c19d199012 100644 --- a/content/reference/compose-file/profiles.md +++ b/content/reference/compose-file/profiles.md @@ -23,7 +23,7 @@ References to other services (by `links`, `extends` or shared resource syntax `s automatically enable a component that would otherwise have been ignored by active profiles. Instead Compose returns an error. -## Illustrative example +## Example ```yaml services: