mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Fix PortBindings definition in Swagger
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: a50cf8aa44f2a5abb5900d39008d075d2e8c2850 Component: engine
This commit is contained in:
@@ -606,17 +606,7 @@ definitions:
|
||||
description: "Network mode to use for this container. Supported standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken
|
||||
as a custom network's name to which this container should connect to."
|
||||
PortBindings:
|
||||
type: "object"
|
||||
description: "A map of exposed container ports and the host port they should map to."
|
||||
additionalProperties:
|
||||
type: "object"
|
||||
properties:
|
||||
HostIp:
|
||||
type: "string"
|
||||
description: "The host IP address"
|
||||
HostPort:
|
||||
type: "string"
|
||||
description: "The host port number, as a string"
|
||||
$ref: "#/definitions/PortMap"
|
||||
RestartPolicy:
|
||||
$ref: "#/definitions/RestartPolicy"
|
||||
AutoRemove:
|
||||
|
||||
Reference in New Issue
Block a user