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/_index.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,8 @@ grid:
40
40
description: Explore general FAQs and find out how to give feedback.
41
41
icon: help
42
42
link: /compose/faq
43
-
- title: Migrate to Compose V2
44
-
description: Learn how to migrate from Compose V1 to V2
43
+
- title: Migrate to Compose v2
44
+
description: Learn how to migrate from Compose v1 to v2
45
45
icon: folder_delete
46
46
link: /compose/releases/migrate/
47
47
aliases:
@@ -55,7 +55,7 @@ aliases:
55
55
Docker Compose is a tool for defining and running multi-container applications.
56
56
It is the key to unlocking a streamlined and efficient development and deployment experience.
57
57
58
-
Compose simplifies the control of your entire application stack, making it easy to manage services, networks, and volumes in a single, comprehensible YAML configuration file. Then, with a single command, you create and start all the services
58
+
Compose simplifies the control of your entire application stack, making it easy to manage services, networks, and volumes in a single YAML configuration file. Then, with a single command, you create and start all the services
59
59
from your configuration file.
60
60
61
61
Compose works in all environments; production, staging, development, testing, as
Copy file name to clipboardExpand all lines: content/manuals/compose/intro/compose-application-model.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Services store and share persistent data into [volumes](/reference/compose-file/
23
23
24
24
Some services require configuration data that is dependent on the runtime or platform. For this, the Specification defines a dedicated [configs](/reference/compose-file/configs.md) concept. From a service container point of view, configs are comparable to volumes, in that they are files mounted into the container. But the actual definition involves distinct platform resources and services, which are abstracted by this type.
25
25
26
-
A [secret](/reference/compose-file/secrets.md) is a specific flavor of configuration data for sensitive data that should not be exposed without security considerations. Secrets are made available to services as files mounted into their containers, but the platform-specific resources to provide sensitive data are specific enough to deserve a distinct concept and definition within the Compose specification.
26
+
A [secret](/reference/compose-file/secrets.md) is a specific flavor of configuration data for sensitive data that should not be exposed without security considerations. Secrets are made available to services as files mounted into their containers, but the platform-specific resources to provide sensitive data are specific enough to deserve a distinct concept and definition within the Compose Specification.
27
27
28
28
> [!NOTE]
29
29
>
@@ -77,7 +77,7 @@ If you want to monitor the output of your running containers and debug issues, y
77
77
$ docker compose logs
78
78
```
79
79
80
-
To lists all the services along with their current status:
80
+
To list all the services along with their current status:
81
81
82
82
```console
83
83
$ docker compose ps
@@ -148,7 +148,7 @@ networks:
148
148
back-tier: {}
149
149
```
150
150
151
-
The `docker compose up` command starts the `frontend` and `backend` services, create the necessary networks and volumes, and injects the configuration and secret into the frontend service.
151
+
The `docker compose up` command starts the `frontend` and `backend` services, creates the necessary networks and volumes, and injects the configuration and secret into the frontend service.
152
152
153
153
`docker compose ps` provides a snapshot of the current state of your services, making it easy to see which containers are running, their status, and the ports they are using:
- A brief history of the development of the Docker Compose CLI
13
-
- A clear explanation of the major versions and file formats that make up Compose V1 and Compose V2
14
-
- The main differences between Compose V1 and Compose V2
13
+
- A clear explanation of the major versions and file formats that make up Compose v1 and Compose v2
14
+
- The main differences between Compose V1 and Compose v2
15
15
16
16
## Introduction
17
17
18
-

18
+

19
19
20
-
The image above shows that the currently supported version of the Docker Compose CLI is Compose V2 which is defined by the [Compose Specification](/reference/compose-file/_index.md).
20
+
The previous image shows that the currently supported version of the Docker Compose CLI is Compose v2 which is defined by the [Compose Specification](/reference/compose-file/_index.md).
21
21
22
22
It also provides a quick snapshot of the differences in file formats, command-line syntax, and top-level elements. This is covered in more detail in the following sections.
23
23
@@ -27,7 +27,7 @@ Version one of the Docker Compose command-line binary was first released in 2014
27
27
Typically, Compose V1 projects include a top-level `version` element in the `compose.yaml` file, with values ranging from `2.0` to `3.8`, which refer to the specific [file formats](#compose-file-format-versioning).
28
28
29
29
Version two of the Docker Compose command-line binary was announced in 2020, is written in Go, and is invoked with `docker compose`.
30
-
Compose V2 ignores the `version` top-level element in the `compose.yaml` file.
30
+
Compose v2 ignores the `version` top-level element in the `compose.yaml` file.
31
31
32
32
### Compose file format versioning
33
33
@@ -39,12 +39,12 @@ Three major versions of the Compose file format for Compose V1 were released:
39
39
- Compose file format 3.x with Compose 1.10.0 in 2017
40
40
41
41
Compose file format 1 is substantially different to all the following formats as it lacks a top-level `services` key.
42
-
Its usage is historical and files written in this format don't run with Compose V2.
42
+
Its usage is historical and files written in this format don't run with Compose v2.
43
43
44
44
Compose file format 2.x and 3.x are very similar to each other, but the latter introduced many new options targeted at Swarm deployments.
45
45
46
46
To address confusion around Compose CLI versioning, Compose file format versioning, and feature parity depending on whether Swarm mode was in use, file format 2.x and 3.x were merged into the [Compose Specification](/reference/compose-file/_index.md).
47
47
48
-
Compose V2 uses the Compose Specification for project definition. Unlike the prior file formats, the Compose Specification is rolling and makes the `version` top-level element optional. Compose V2 also makes use of optional specifications - [Deploy](/reference/compose-file/deploy.md), [Develop](/reference/compose-file/develop.md) and [Build](/reference/compose-file/build.md).
48
+
Compose v2 uses the Compose Specification for project definition. Unlike the prior file formats, the Compose Specification is rolling and makes the `version` top-level element optional. Compose v2 also makes use of optional specifications - [Deploy](/reference/compose-file/deploy.md), [Develop](/reference/compose-file/develop.md), and [Build](/reference/compose-file/build.md).
49
49
50
-
To make [migration](/manuals/compose/releases/migrate.md) easier, Compose V2 has backwards compatibility for certain elements that have been deprecated or changed between Compose file format 2.x/3.x and the Compose Specification.
50
+
To make [migration](/manuals/compose/releases/migrate.md) easier, Compose v2 has backwards compatibility for certain elements that have been deprecated or changed between Compose file format 2.x/3.x and the Compose Specification.
0 commit comments