Search or ask Docker

Driver

Driver schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

Driver represents a driver (network, logging, secrets).
Name · required

Type: string

Name of the driver.
All schema constraints and annotations
{
  "description": "Name of the driver.",
  "example": "some-driver",
  "type": "string",
  "x-nullable": false
}
Options

Type: object

Key/value map of driver-specific options.
All schema constraints and annotations
{
  "additionalProperties": {
    "type": "string"
  },
  "description": "Key/value map of driver-specific options.",
  "example": {
    "OptionA": "value for driver-specific option A",
    "OptionB": "value for driver-specific option B"
  },
  "type": "object",
  "x-nullable": false
}
All schema constraints and annotations
{
  "description": "Driver represents a driver (network, logging, secrets).",
  "properties": {
    "Name": {
      "description": "Name of the driver.",
      "example": "some-driver",
      "type": "string",
      "x-nullable": false
    },
    "Options": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Key/value map of driver-specific options.",
      "example": {
        "OptionA": "value for driver-specific option A",
        "OptionB": "value for driver-specific option B"
      },
      "type": "object",
      "x-nullable": false
    }
  },
  "required": [
    "Name"
  ],
  "type": "object"
}