# VolumeCreateRequest


[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": "Volume configuration",
  "properties": {
    "ClusterVolumeSpec": {
      "$ref": "#/components/schemas/ClusterVolumeSpec"
    },
    "Driver": {
      "default": "local",
      "description": "Name of the volume driver to use.",
      "example": "custom",
      "type": "string",
      "x-nullable": false
    },
    "DriverOpts": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "A mapping of driver options and values. These options are\npassed directly to the driver and are driver specific.\n",
      "example": {
        "device": "tmpfs",
        "o": "size=100m,uid=1000",
        "type": "tmpfs"
      },
      "type": "object"
    },
    "Labels": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "User-defined key/value metadata.",
      "example": {
        "com.example.some-label": "some-value",
        "com.example.some-other-label": "some-other-value"
      },
      "type": "object"
    },
    "Name": {
      "description": "The new volume's name. If not specified, Docker generates a name.\n",
      "example": "tardis",
      "type": "string",
      "x-nullable": false
    }
  },
  "title": "VolumeConfig",
  "type": "object",
  "x-go-name": "CreateRequest"
}
```



