title: Using Bluetooth through a Linux Docker container running on Windows
body: <p>I'm trying to run <a href="https://github.com/mart1nro/joycontrol" rel="nofollow noreferrer">https://github.com/mart1nro/joycontrol</a> to spoof joycons from my PC.
  I'm trying to run it in a Linux (ubuntu:18.04) Docker container running in Windows 10 but it can't seem to find the Bluetooth devices. Here's my simple Dockerfile: <a href="https://github.com/juharris/joycontrol/blob/master/Dockerfile" rel="nofollow noreferrer">https://github.com/juharris/joycontrol/blob/master/Dockerfile</a> in there you can see the <code>docker run</code> commands that I tried. I tried with <code>--net=host --privileged</code> and <code>--net=host --cap-add=SYS_ADMIN --cap-add=NET_ADMIN</code>.</p>
  
  <p>The error I get is: <code>OSError: [Errno 97] Address family not supported by protocol</code>.</p>
  
  <p>Any suggestions to get Bluetooth working through a Linux container on Windows or joycon spoofing alternatives would be greatly appreciated.</p>