Is it possible to expose a USB device to an LXC/Docker container?

后端 未结 3 2120
青春惊慌失措
青春惊慌失措 2021-02-13 18:20

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)

3条回答
  •  野性不改
    2021-02-13 18:58

    At the current moment, this is not possible with Docker. However, we are working on a 'privilege' mode that would allow a container to access devices like USB or GPU.

提交回复
热议问题