Search or ask Docker

DeviceInfo

DeviceInfo schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

DeviceInfo represents a device that can be used by a container.
ID

Type: string

The unique identifier for the device within its source driver. For CDI devices, this would be an FQDN like "vendor.com/gpu=0".
All schema constraints and annotations
{
  "description": "The unique identifier for the device within its source driver.\nFor CDI devices, this would be an FQDN like \"vendor.com/gpu=0\".\n",
  "example": "vendor.com/gpu=0",
  "type": "string"
}
Source

Type: string

The origin device driver.
All schema constraints and annotations
{
  "description": "The origin device driver.\n",
  "example": "cdi",
  "type": "string"
}
All schema constraints and annotations
{
  "description": "DeviceInfo represents a device that can be used by a container.\n",
  "properties": {
    "ID": {
      "description": "The unique identifier for the device within its source driver.\nFor CDI devices, this would be an FQDN like \"vendor.com/gpu=0\".\n",
      "example": "vendor.com/gpu=0",
      "type": "string"
    },
    "Source": {
      "description": "The origin device driver.\n",
      "example": "cdi",
      "type": "string"
    }
  },
  "type": "object"
}