Peripherals and Device Profiles

How to ensure physically-attached peripherals (via, e.g., USB or serial interface) can be made available to containers launched on the device.

By default, the testbed will auto-discover most devices available under /dev. Currently this works against a list of known/allowed device names, which differs by platform:

When launching a container on the testbed, end-users can specify a "device profile", which maps to some set of detected and available devices. The containers will then have permission to access these devices.

Sometimes, peripherals require additional software for interfacing. This is not automatically provided by the testbed, but can be preinstalled inside the containers that are launched on the target device. For example, Raspberry Pi userland binaries such as vcgemcmd could be compiled and added to the Docker image.

Device Profiles

For security reasons, we currently whitelist device profiles, which map a subset of the above devices to a key that can be specified during container launch.

The currently defined profiles are as follows:

Last updated