Follow

love how i’ve gotten to the point where my dockerised homebridge install needs to be able to access a BLE device, and literally every single post I can find online says you need to give it host networking and privileged mode to access the pi’s BT adapter

turns out the reason you explicitly need to give the docker container host networking is because modern bluetooth interfaces use the AF_BLUETOOTH socket address family, which uhhhhhhhhhhhhh there's just.. literally no way to change without giving it host networking?

this extremely sucks lmfao

i can pass docker arbitrary system devices, give it extremely granular cgroup and capability settings, but somehow there's absolutely -no- way to tell the linux kernel that a specific container should be allowed to call socket(AF_BLUETOOTH, ...)

Sign in to participate in the conversation
Queer Party!

A silly instance of Mastodon for queer folk and non-queer folk alike. Let's be friends!