Accessing Bluetooth dongle from inside Docker?

前端 未结 4 759
逝去的感伤
逝去的感伤 2021-02-08 02:29

Is it possible to use a bluetooth (BLE in my case) dongle inside of a docker container?

On my host machine:

$ hcitool dev
    Devices:
       hci0   5C:F         


        
4条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-08 02:41

    Try this:

    sudo docker run --net=host --privileged -i -t ubuntu /bin/bash

提交回复
热议问题