📅  最后修改于: 2022-03-11 14:50:31.440000             🧑  作者: Mango
If it is still relevant, the following solution did work for me:
docker run --gpus all -it --name [container_name] \
-v "$(pwd)/..":/home/app \
--privileged -v /dev/bus/usb:/dev/bus/usb \
--privileged -v /dev/ttyACM0:/dev/ttyACM0 \
[image_container_name] bash