Search or ask Docker

NetworkAttachmentConfig

NetworkAttachmentConfig schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

Specifies how a service should be attached to a particular network.
Aliases

Type: array

Discoverable alternate names for the service on this network.
Array item

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "description": "Discoverable alternate names for the service on this network.\n",
  "items": {
    "type": "string"
  },
  "type": "array"
}
DriverOpts

Type: object

Driver attachment options for the network target.
All schema constraints and annotations
{
  "additionalProperties": {
    "type": "string"
  },
  "description": "Driver attachment options for the network target.\n",
  "type": "object"
}
Target

Type: string

The target network for attachment. Must be a network name or ID.
All schema constraints and annotations
{
  "description": "The target network for attachment. Must be a network name or ID.\n",
  "type": "string"
}
All schema constraints and annotations
{
  "description": "Specifies how a service should be attached to a particular network.\n",
  "properties": {
    "Aliases": {
      "description": "Discoverable alternate names for the service on this network.\n",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "DriverOpts": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Driver attachment options for the network target.\n",
      "type": "object"
    },
    "Target": {
      "description": "The target network for attachment. Must be a network name or ID.\n",
      "type": "string"
    }
  },
  "type": "object"
}