📌  相关文章
📜  docker 容器无法打开端口 dev ttyUSB0 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:31.440000             🧑  作者: Mango

代码示例1
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