Skip to content

ECS  >  Dictionaries  >  DeviceDict

DeviceDict

Dictionary Type

DeviceDict

Bases: TypedDict

Dictionary form of Device.

Attributes

container_path instance-attribute
container_path: str | None

The path inside the container at which to expose the host device.

host_path instance-attribute
host_path: Required[str]

The path for the device on the host container instance.

permissions instance-attribute
permissions: Sequence[str] | None

The explicit permissions to provide to the container for the device. By default, the container has permissions for read, write, and mknod for the device.