Volume Create Options
constructor(name: String? = null, driver: String? = "local", driverOpts: Map<String, String>? = null, labels: Map<String, String>? = null, clusterVolumeSpec: ClusterVolumeSpec? = null)
Parameters
name
The new volume's name. If not specified, Docker generates a name.
driver
Name of the volume driver to use.
driver Opts
A mapping of driver options and values. These options are passed directly to the driver and are driver specific.
labels
User-defined key/value metadata.
cluster Volume Spec