mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update swagger and API history
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
5b69ff466e
commit
3682703ad4
2 changed files with 34 additions and 3 deletions
|
@ -2449,7 +2449,15 @@ definitions:
|
||||||
properties:
|
properties:
|
||||||
PluginSpec:
|
PluginSpec:
|
||||||
type: "object"
|
type: "object"
|
||||||
description: "Invalid when specified with `ContainerSpec`. *(Experimental release only.)*"
|
description: |
|
||||||
|
Plugin spec for the service. *(Experimental release only.)*
|
||||||
|
|
||||||
|
<p><br /></p>
|
||||||
|
|
||||||
|
> **Note**: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are
|
||||||
|
> mutually exclusive. PluginSpec is only used when the Runtime field
|
||||||
|
> is set to `plugin`. NetworkAttachmentSpec is used when the Runtime
|
||||||
|
> field is set to `attachment`.
|
||||||
properties:
|
properties:
|
||||||
Name:
|
Name:
|
||||||
description: "The name or 'alias' to use for the plugin."
|
description: "The name or 'alias' to use for the plugin."
|
||||||
|
@ -2476,7 +2484,15 @@ definitions:
|
||||||
type: "string"
|
type: "string"
|
||||||
ContainerSpec:
|
ContainerSpec:
|
||||||
type: "object"
|
type: "object"
|
||||||
description: "Invalid when specified with `PluginSpec`."
|
description: |
|
||||||
|
Container spec for the service.
|
||||||
|
|
||||||
|
<p><br /></p>
|
||||||
|
|
||||||
|
> **Note**: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are
|
||||||
|
> mutually exclusive. PluginSpec is only used when the Runtime field
|
||||||
|
> is set to `plugin`. NetworkAttachmentSpec is used when the Runtime
|
||||||
|
> field is set to `attachment`.
|
||||||
properties:
|
properties:
|
||||||
Image:
|
Image:
|
||||||
description: "The image name to use for the container"
|
description: "The image name to use for the container"
|
||||||
|
@ -2689,7 +2705,16 @@ definitions:
|
||||||
- "process"
|
- "process"
|
||||||
- "hyperv"
|
- "hyperv"
|
||||||
NetworkAttachmentSpec:
|
NetworkAttachmentSpec:
|
||||||
description: "Read-only spec type for non-swarm containers attached to swarm overlay networks"
|
description: |
|
||||||
|
Read-only spec type for non-swarm containers attached to swarm overlay
|
||||||
|
networks.
|
||||||
|
|
||||||
|
<p><br /></p>
|
||||||
|
|
||||||
|
> **Note**: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are
|
||||||
|
> mutually exclusive. PluginSpec is only used when the Runtime field
|
||||||
|
> is set to `plugin`. NetworkAttachmentSpec is used when the Runtime
|
||||||
|
> field is set to `attachment`.
|
||||||
type: "object"
|
type: "object"
|
||||||
properties:
|
properties:
|
||||||
ContainerID:
|
ContainerID:
|
||||||
|
|
|
@ -13,6 +13,12 @@ keywords: "API, Docker, rcli, REST, documentation"
|
||||||
will be rejected.
|
will be rejected.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## V1.38 API changes
|
||||||
|
|
||||||
|
* `GET /tasks` and `GET /tasks/{id}` now return a `NetworkAttachmentSpec` field,
|
||||||
|
containing the `ContainerID` for non-service containers connected to "attachable"
|
||||||
|
swarm-scoped networks.
|
||||||
|
|
||||||
## v1.37 API changes
|
## v1.37 API changes
|
||||||
|
|
||||||
[Docker Engine API v1.37](https://docs.docker.com/engine/api/v1.37/) documentation
|
[Docker Engine API v1.37](https://docs.docker.com/engine/api/v1.37/) documentation
|
||||||
|
|
Loading…
Add table
Reference in a new issue