|
@@ -746,11 +746,13 @@ definitions:
|
|
|
The time to wait between checks in nanoseconds. It should be 0 or at
|
|
|
least 1000000 (1 ms). 0 means inherit.
|
|
|
type: "integer"
|
|
|
+ format: "int64"
|
|
|
Timeout:
|
|
|
description: |
|
|
|
The time to wait before considering the check to have hung. It should
|
|
|
be 0 or at least 1000000 (1 ms). 0 means inherit.
|
|
|
type: "integer"
|
|
|
+ format: "int64"
|
|
|
Retries:
|
|
|
description: |
|
|
|
The number of consecutive failures needed to consider a container as
|
|
@@ -762,11 +764,13 @@ definitions:
|
|
|
health-retries countdown in nanoseconds. It should be 0 or at least
|
|
|
1000000 (1 ms). 0 means inherit.
|
|
|
type: "integer"
|
|
|
+ format: "int64"
|
|
|
|
|
|
Health:
|
|
|
description: |
|
|
|
Health stores information about the container's healthcheck results.
|
|
|
type: "object"
|
|
|
+ x-nullable: true
|
|
|
properties:
|
|
|
Status:
|
|
|
description: |
|
|
@@ -792,13 +796,13 @@ definitions:
|
|
|
description: |
|
|
|
Log contains the last few results (oldest first)
|
|
|
items:
|
|
|
- x-nullable: true
|
|
|
$ref: "#/definitions/HealthcheckResult"
|
|
|
|
|
|
HealthcheckResult:
|
|
|
description: |
|
|
|
HealthcheckResult stores information about a single run of a healthcheck probe
|
|
|
type: "object"
|
|
|
+ x-nullable: true
|
|
|
properties:
|
|
|
Start:
|
|
|
description: |
|
|
@@ -1075,6 +1079,7 @@ definitions:
|
|
|
remapping option is enabled.
|
|
|
ShmSize:
|
|
|
type: "integer"
|
|
|
+ format: "int64"
|
|
|
description: |
|
|
|
Size of `/dev/shm` in bytes. If omitted, the system uses 64MB.
|
|
|
minimum: 0
|
|
@@ -1595,7 +1600,7 @@ definitions:
|
|
|
List of image names/tags in the local image cache that reference this
|
|
|
image.
|
|
|
|
|
|
- Multiple image tags can refer to the same imagem and this list may be
|
|
|
+ Multiple image tags can refer to the same image, and this list may be
|
|
|
empty if no tags reference the image, in which case the image is
|
|
|
"untagged", in which case it can still be referenced by its ID.
|
|
|
type: "array"
|
|
@@ -1796,7 +1801,7 @@ definitions:
|
|
|
List of image names/tags in the local image cache that reference this
|
|
|
image.
|
|
|
|
|
|
- Multiple image tags can refer to the same imagem and this list may be
|
|
|
+ Multiple image tags can refer to the same image, and this list may be
|
|
|
empty if no tags reference the image, in which case the image is
|
|
|
"untagged", in which case it can still be referenced by its ID.
|
|
|
type: "array"
|
|
@@ -1846,6 +1851,7 @@ definitions:
|
|
|
This size is not calculated by default. `-1` indicates that the value
|
|
|
has not been set / calculated.
|
|
|
type: "integer"
|
|
|
+ format: "int64"
|
|
|
x-nullable: false
|
|
|
example: 1239828
|
|
|
VirtualSize:
|
|
@@ -1990,6 +1996,7 @@ definitions:
|
|
|
properties:
|
|
|
Size:
|
|
|
type: "integer"
|
|
|
+ format: "int64"
|
|
|
default: -1
|
|
|
description: |
|
|
|
Amount of disk space used by the volume (in bytes). This information
|
|
@@ -1999,6 +2006,7 @@ definitions:
|
|
|
x-nullable: false
|
|
|
RefCount:
|
|
|
type: "integer"
|
|
|
+ format: "int64"
|
|
|
default: -1
|
|
|
description: |
|
|
|
The number of containers referencing this volume. This field
|
|
@@ -2274,6 +2282,8 @@ definitions:
|
|
|
type: "string"
|
|
|
error:
|
|
|
type: "string"
|
|
|
+ errorDetail:
|
|
|
+ $ref: "#/definitions/ErrorDetail"
|
|
|
status:
|
|
|
type: "string"
|
|
|
progress:
|
|
@@ -4426,6 +4436,7 @@ definitions:
|
|
|
ContainerState stores container's running state. It's part of ContainerJSONBase
|
|
|
and will be returned by the "inspect" command.
|
|
|
type: "object"
|
|
|
+ x-nullable: true
|
|
|
properties:
|
|
|
Status:
|
|
|
description: |
|
|
@@ -4483,7 +4494,6 @@ definitions:
|
|
|
type: "string"
|
|
|
example: "2020-01-06T09:07:59.461876391Z"
|
|
|
Health:
|
|
|
- x-nullable: true
|
|
|
$ref: "#/definitions/Health"
|
|
|
|
|
|
ContainerWaitResponse:
|
|
@@ -4496,6 +4506,7 @@ definitions:
|
|
|
StatusCode:
|
|
|
description: "Exit code of the container"
|
|
|
type: "integer"
|
|
|
+ format: "int64"
|
|
|
x-nullable: false
|
|
|
Error:
|
|
|
$ref: "#/definitions/ContainerWaitExitError"
|
|
@@ -6023,7 +6034,6 @@ paths:
|
|
|
items:
|
|
|
type: "string"
|
|
|
State:
|
|
|
- x-nullable: true
|
|
|
$ref: "#/definitions/ContainerState"
|
|
|
Image:
|
|
|
description: "The container's image ID"
|
|
@@ -6036,9 +6046,6 @@ paths:
|
|
|
type: "string"
|
|
|
LogPath:
|
|
|
type: "string"
|
|
|
- Node:
|
|
|
- description: "TODO"
|
|
|
- type: "object"
|
|
|
Name:
|
|
|
type: "string"
|
|
|
RestartCount:
|
|
@@ -6825,7 +6832,8 @@ paths:
|
|
|
type: "string"
|
|
|
- name: "signal"
|
|
|
in: "query"
|
|
|
- description: "Signal to send to the container as an integer or string (e.g. `SIGINT`)"
|
|
|
+ description: |
|
|
|
+ Signal to send to the container as an integer or string (e.g. `SIGINT`).
|
|
|
type: "string"
|
|
|
default: "SIGKILL"
|
|
|
tags: ["Container"]
|
|
@@ -8220,6 +8228,10 @@ paths:
|
|
|
IdentityToken: "9cbaf023786cd7..."
|
|
|
204:
|
|
|
description: "No error"
|
|
|
+ 401:
|
|
|
+ description: "Auth error"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
500:
|
|
|
description: "Server error"
|
|
|
schema:
|
|
@@ -9065,6 +9077,7 @@ paths:
|
|
|
type: "boolean"
|
|
|
default: false
|
|
|
tags: ["Volume"]
|
|
|
+
|
|
|
/volumes/prune:
|
|
|
post:
|
|
|
summary: "Delete unused volumes"
|
|
@@ -10083,7 +10096,7 @@ paths:
|
|
|
required: true
|
|
|
schema:
|
|
|
type: "object"
|
|
|
- title: "SwarmJoinRequest"
|
|
|
+ title: "SwarmInitRequest"
|
|
|
properties:
|
|
|
ListenAddr:
|
|
|
description: |
|
|
@@ -10182,7 +10195,7 @@ paths:
|
|
|
required: true
|
|
|
schema:
|
|
|
type: "object"
|
|
|
- title: "SwarmInitRequest"
|
|
|
+ title: "SwarmJoinRequest"
|
|
|
properties:
|
|
|
ListenAddr:
|
|
|
description: |
|