mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
docs: improve the description of the outputs parameter for /build endpoint
Signed-off-by: Jiří Moravčík <jiri.moravcik@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
2c1d9046b2
commit
833dc69ad9
@@ -7948,7 +7948,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -8237,7 +8237,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -8487,7 +8487,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -8505,7 +8505,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -8662,7 +8662,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -8648,7 +8648,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -8769,7 +8769,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -8910,7 +8910,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -9455,7 +9455,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -9455,7 +9455,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -9339,7 +9339,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -9338,7 +9338,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -9302,7 +9302,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
@@ -9313,7 +9313,18 @@ paths:
|
||||
default: ""
|
||||
- name: "outputs"
|
||||
in: "query"
|
||||
description: "BuildKit output configuration"
|
||||
description: |
|
||||
BuildKit output configuration in the format of a stringified JSON array of objects.
|
||||
Each object must have two top-level properties: `Type` and `Attrs`.
|
||||
The `Type` property must be set to 'moby'.
|
||||
The `Attrs` property is a map of attributes for the BuildKit output configuration.
|
||||
See https://docs.docker.com/build/exporters/oci-docker/ for more information.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
[{"Type":"moby","Attrs":{"type":"image","force-compression":"true","compression":"zstd"}}]
|
||||
```
|
||||
type: "string"
|
||||
default: ""
|
||||
- name: "version"
|
||||
|
||||
Reference in New Issue
Block a user