Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _includes/content/compose-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This table shows which Compose file versions support specific Docker releases.
| 3.2 | 17.04.0+ |
| 3.1 | 1.13.1+ |
| 3.0 | 1.13.0+ |
| 2.3 | 17.06.0+ |
| 2.2 | 1.13.0+ |
| 2.1 | 1.12.0+ |
| 2.0 | 1.10.0+ |
Expand Down
6 changes: 6 additions & 0 deletions compose/compose-file/compose-file-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ build.
context: .
network: custom_network_1

#### target

> Added in [version 2.3](compose-versioning.md#version-23) file format

Sets the name of the build-stage to build in a
[multi-stage Dockerfile](/engine/userguide/eng-image/multistage-build.md).

### cap_add, cap_drop

Expand Down
10 changes: 10 additions & 0 deletions compose/compose-file/compose-versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,16 @@ Introduces the following additional parameters:
- [`init`](compose-file-v2.md#init)
- [`scale`](compose-file-v2.md#scale)

### Version 2.3

An upgrade of [version 2.2](#version-22) that introduces new parameters only
available with Docker Engine version **17.06+**. Version 2.3 files are
supported by **Compose 17.06+**.

Introduces the following additional parameters:

- [`target`](compose-file-v2.md#target)

### Version 3

Designed to be cross-compatible between Compose and the Docker Engine's
Expand Down