bluetooth without root

Hi,

I can and this is what I am doing currently. Since the container is used for development (with and editor, command line, etc), running as root is not ideal.

I’ve also observed that sudo does not solve the problem. I.e. if I exit the Dockerfile with USER iot and then run sudo bluetoothctl in a terminal window, I still get an error. Exiting with USER root works. A bit strange, I don’t understand why this is the case.

This is an interesting option to keep in mind.

Thanks!