0 0 Share PDF

How can I configure the Docker container deployment with devices (--device option) through Docker Cloud?

Article ID: KB000266

To use the --deviceoption through the Docker Cloud web console, use Stack deployment (a Stackfile). An example of how devices are declared in a Stackfile is shown below:

 - "/dev/ttyUSB0:/dev/ttyUSB0"
 - "/dev/ttyUSB1:/dev/ttyUSB1"

For more information on Stack YAML reference, please refer to the documentation: