I have an embedded system development image contained in a Docker file. In order to flash the code I need to connect to the nodes via USB Serial (e.g. /dev/ttyACM0)
/dev/ttyACM0
The --device option now allows exposing a /dev to a container, for example:
--device
/dev
docker run -t -i --device=/dev/ttyUSB0 ubuntu bash
(I found from this Stack Overflow answer.)