ContainerDevice

data class ContainerDevice(val containerPath: String? = null, val hostPath: String, val permissions: String? = null)

Constructors

Link copied to clipboard
constructor(containerPath: String? = null, hostPath: String, permissions: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val containerPath: String? = null

The path in the container where the device will be bound.

Link copied to clipboard

The path on the host where the device is located.

Link copied to clipboard
val permissions: String? = null

The cgroup permissions given to the container to access the device. Defaults to rwm.