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
the URL is not supported by the daemon, a HTTP `400 Bad Request` error message
50
50
is returned.
51
51
52
-
If you omit the version-prefix, the current version of the API (v1.36) is used.
52
+
If you omit the version-prefix, the current version of the API (v1.37) is used.
53
53
For example, calling `/info` is the same as calling `/v1.36/info`. Using the
54
54
API without a version-prefix is deprecated and will be removed in a future release.
55
55
@@ -167,7 +167,7 @@ definitions:
167
167
Type:
168
168
type: "string"
169
169
x-nullable: false
170
-
enum: ["tcp", "udp"]
170
+
enum: ["tcp", "udp", "sctp"]
171
171
example:
172
172
PrivatePort: 8080
173
173
PublicPort: 80
@@ -443,6 +443,10 @@ definitions:
443
443
OomKillDisable:
444
444
description: "Disable OOM Killer for the container."
445
445
type: "boolean"
446
+
Init:
447
+
description: "Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used."
448
+
type: "boolean"
449
+
x-nullable: true
446
450
PidsLimit:
447
451
description: "Tune a container's pids limit. Set -1 for unlimited."
448
452
type: "integer"
@@ -797,7 +801,7 @@ definitions:
797
801
description: |
798
802
An object mapping ports to an empty object in the form:
799
803
800
-
`{"<port>/<tcp|udp>": {}}`
804
+
`{"<port>/<tcp|udp|sctp>": {}}`
801
805
type: "object"
802
806
additionalProperties:
803
807
type: "object"
@@ -1062,8 +1066,8 @@ definitions:
1062
1066
container's port-number and protocol as key in the format `<port>/<protocol>`,
1063
1067
for example, `80/udp`.
1064
1068
1065
-
If a container's port is mapped for both `tcp` and `udp`, two separate
1066
-
entries are added to the mapping table.
1069
+
If a container's port is mapped for multiple protocols, separate entries
1070
+
are added to the mapping table.
1067
1071
type: "object"
1068
1072
additionalProperties:
1069
1073
type: "array"
@@ -2800,6 +2804,8 @@ definitions:
2800
2804
- "shutdown"
2801
2805
- "failed"
2802
2806
- "rejected"
2807
+
- "remove"
2808
+
- "orphaned"
2803
2809
2804
2810
Task:
2805
2811
type: "object"
@@ -3040,6 +3046,7 @@ definitions:
3040
3046
enum:
3041
3047
- "tcp"
3042
3048
- "udp"
3049
+
- "sctp"
3043
3050
TargetPort:
3044
3051
description: "The port inside the container."
3045
3052
type: "integer"
@@ -3331,6 +3338,13 @@ definitions:
3331
3338
Driver:
3332
3339
description: "Name of the secrets driver used to fetch the secret's value from an external secret store"
3333
3340
$ref: "#/definitions/Driver"
3341
+
Templating:
3342
+
description: |
3343
+
Templating driver, if applicable
3344
+
3345
+
Templating controls whether and how to evaluate the config payload as
3346
+
a template. If no driver is set, no templating is used.
Templating controls whether and how to evaluate the config payload as
3389
+
a template. If no driver is set, no templating is used.
3390
+
$ref: "#/definitions/Driver"
3370
3391
3371
3392
Config:
3372
3393
type: "object"
@@ -4640,7 +4661,7 @@ paths:
4640
4661
AppArmorProfile:
4641
4662
type: "string"
4642
4663
ExecIDs:
4643
-
type: "string"
4664
+
type: "array"
4644
4665
HostConfig:
4645
4666
$ref: "#/definitions/HostConfig"
4646
4667
GraphDriver:
@@ -5349,6 +5370,13 @@ paths:
5349
5370
examples:
5350
5371
application/json:
5351
5372
message: "No such container: c2ada9df5af8"
5373
+
409:
5374
+
description: "container is not running"
5375
+
schema:
5376
+
$ref: "#/definitions/ErrorResponse"
5377
+
examples:
5378
+
application/json:
5379
+
message: "Container d37cde0fe4ad63c3a7252023b2f9800282894247d145cb5933ddf6e52cc03a28 is not running"
5352
5380
500:
5353
5381
description: "server error"
5354
5382
schema:
@@ -6159,7 +6187,18 @@ paths:
6159
6187
type: "integer"
6160
6188
- name: "buildargs"
6161
6189
in: "query"
6162
-
description: "JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values. [Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg)"
6190
+
description: >
6191
+
JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker
6192
+
uses the buildargs as the environment context for commands run via the `Dockerfile` RUN
6193
+
instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for
6194
+
passing secret values.
6195
+
6196
+
6197
+
For example, the build arg `FOO=bar` would become `{"FOO":"bar"}` in JSON. This would result in the
6198
+
the query parameter `buildargs={"FOO":"bar"}`. Note that `{"FOO":"bar"}` should be URI component encoded.
6199
+
6200
+
6201
+
[Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg)
@@ -683,7 +684,8 @@ public function imageList(array $queryParameters = [], string $fetch = self::FET
683
684
* @var string $cpusetcpus CPUs in which to allow execution (e.g., `0-3`, `0,1`).
684
685
* @var int $cpuperiod the length of a CPU period in microseconds
685
686
* @var int $cpuquota microseconds of CPU time that the container can get in a CPU period
686
-
* @var string $buildargs JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values. [Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg)
687
+
* @var string $buildargs JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values.
688
+
687
689
* @var int $shmsize Size of `/dev/shm` in bytes. The size must be greater than 0. If omitted the system uses 64MB.
688
690
* @var bool $squash Squash the resulting images layers into a single layer. *(Experimental release only.)*
689
691
* @var string $labels arbitrary key/value labels to set on the image, as a JSON map of string pairs
@@ -2200,7 +2202,7 @@ public static function create($httpClient = null)
@@ -683,7 +684,8 @@ public function imageList(array $queryParameters = [], string $fetch = self::FET
683
684
* @var string $cpusetcpus CPUs in which to allow execution (e.g., `0-3`, `0,1`).
684
685
* @var int $cpuperiod the length of a CPU period in microseconds
685
686
* @var int $cpuquota microseconds of CPU time that the container can get in a CPU period
686
-
* @var string $buildargs JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values. [Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg)
687
+
* @var string $buildargs JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values.
688
+
687
689
* @var int $shmsize Size of `/dev/shm` in bytes. The size must be greater than 0. If omitted the system uses 64MB.
688
690
* @var bool $squash Squash the resulting images layers into a single layer. *(Experimental release only.)*
689
691
* @var string $labels arbitrary key/value labels to set on the image, as a JSON map of string pairs
Copy file name to clipboardExpand all lines: src/Endpoint/ImageBuild.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,8 @@ class ImageBuild extends \Jane\OpenApiRuntime\Client\BaseEndpoint implements \Ja
41
41
* @var string $cpusetcpus CPUs in which to allow execution (e.g., `0-3`, `0,1`).
42
42
* @var int $cpuperiod the length of a CPU period in microseconds
43
43
* @var int $cpuquota microseconds of CPU time that the container can get in a CPU period
44
-
* @var string $buildargs JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values. [Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg)
44
+
* @var string $buildargs JSON map of string pairs for build-time variables. Users pass these values at build-time. Docker uses the buildargs as the environment context for commands run via the `Dockerfile` RUN instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for passing secret values.
45
+
45
46
* @var int $shmsize Size of `/dev/shm` in bytes. The size must be greater than 0. If omitted the system uses 64MB.
46
47
* @var bool $squash Squash the resulting images layers into a single layer. *(Experimental release only.)*
47
48
* @var string $labels arbitrary key/value labels to set on the image, as a JSON map of string pairs
0 commit comments