ContainerMountVolumeOptions

data class ContainerMountVolumeOptions(val driverName: String? = null, val driverOptions: Map<String, String>? = null, val labels: List<ContainerMountVolumeOptionsLabel>? = null, val noCopy: Boolean? = null, val subpath: String? = null)

Constructors

Link copied to clipboard
constructor(driverName: String? = null, driverOptions: Map<String, String>? = null, labels: List<ContainerMountVolumeOptionsLabel>? = null, noCopy: Boolean? = null, subpath: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val driverName: String? = null

Name of the driver to use to create the volume.

Link copied to clipboard

key/value map of driver specific options.

Link copied to clipboard

User-defined key/value metadata.

Link copied to clipboard
val noCopy: Boolean? = null

Populate volume with data from the target.

Link copied to clipboard
val subpath: String? = null

Path within the volume to mount. Requires docker server version 1.45 or higher.