# NetworkAttachmentConfig


[API catalog](/reference/api/) · [Docker Engine overview](/reference/api/engine/version/v1.57/) · [Product manual](https://docs.docker.com/engine/) · [OpenAPI specification](/reference/api/engine/version/v1.57.yaml)

API version: 1.57





Schema constraints and annotations:

```json
{
  "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"
}
```



