• Uncategorized

About linux : Accessing-bluetooth-in-a-linux-docker-container-closed

Question Detail

I’ve built a Linux container (basic kalilinux/kali-rolling) on top of my macOS and I’m trying to access my device’s Bluetooth within this container with Bluez’ hcitool scan method. However the method returns:

Device is not available: Address family not supported by protocol

The container is ran using :

docker run --rm --net=host --privileged -it kalilinux/kali-rolling:latest

# Once in root I run : 
apt-get update && apt-get install -y bluez bluetooth

Am I passing the right parameters when launching my container? I thought that by adding the --privileged flag it would allow access to all of the system’s resources and hence my Bluetooth. Otherwise, I’ve read that this might be a kernel issue where Bluetooth is not built in. Any hints as how to debug this would be appreciated.

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.