Merge pull request #36971 from emanb29/6478-documentHostIP
Describe IP field of Port definition Upstream-commit: 85a8252c47538ac90c30090574b6e9f1795bb6b7 Component: engine
This commit is contained in:
@ -155,6 +155,7 @@ definitions:
|
||||
IP:
|
||||
type: "string"
|
||||
format: "ip-address"
|
||||
description: "Host IP address that the container's port is mapped to"
|
||||
PrivatePort:
|
||||
type: "integer"
|
||||
format: "uint16"
|
||||
|
||||
@ -7,7 +7,7 @@ package types
|
||||
// swagger:model Port
|
||||
type Port struct {
|
||||
|
||||
// IP
|
||||
// Host IP address that the container's port is mapped to
|
||||
IP string `json:"IP,omitempty"`
|
||||
|
||||
// Port on the container
|
||||
|
||||
Reference in New Issue
Block a user