Skip to content

Type Alias: ContainerDevice ​

ContainerDevice = object

A host device made available in a container (docker run --device). Read from the container's settings (DockerContainer.devices) and given to ContainerSettingOptions.devices.

Properties ​

cgroupPermissions ​

cgroupPermissions: string

What the container's cgroup allows on the device: a combination of r (read), w (write) and m (create device nodes with mknod), "rwm" for all of them.


containerPath ​

containerPath: string

The path of the device in the container (/dev/ttyUSB0).


hostPath ​

hostPath: string

The path of the device on the host (/dev/ttyUSB0).

Released under the MIT License.