Search or ask Docker

NetworkConnectRequest

NetworkConnectRequest schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

NetworkConnectRequest represents the data to be used to connect a container to a network.
Container · required

Type: string

The ID or name of the container to connect to the network.
All schema constraints and annotations
{
  "description": "The ID or name of the container to connect to the network.",
  "example": "3613f73ba0e4",
  "type": "string",
  "x-nullable": false
}
EndpointConfig

Schema: EndpointSettings

All schema constraints and annotations
{
  "$ref": "#/components/schemas/EndpointSettings",
  "x-nullable": true
}
All schema constraints and annotations
{
  "description": "NetworkConnectRequest represents the data to be used to connect a container to a network.\n",
  "properties": {
    "Container": {
      "description": "The ID or name of the container to connect to the network.",
      "example": "3613f73ba0e4",
      "type": "string",
      "x-nullable": false
    },
    "EndpointConfig": {
      "$ref": "#/components/schemas/EndpointSettings",
      "x-nullable": true
    }
  },
  "required": [
    "Container"
  ],
  "type": "object",
  "x-go-name": "ConnectRequest"
}