title: Docker swarm for usb devices
body: <p>I'm trying to build a distributed python application that connects several hosts with android devices over usb.  These hosts then connect over TCP to a central broker for job disbursement.  I'm currently tackling the problem of supporting multiple python builds for developers (linux/windows) as well as production (runs an older OS which requires it's own build of python).  On the surface, docker seems like a good fit here as it would allow me to support a single python build.</p>
  
  <p>However, docker doesn't seem suited well to working with external hardware.  There is the <em>--device</em> option to pass a specific device, but that requires that the device be present before the <em>docker run</em> command and it doesn't persist across device reboots.  I can get around that problem with <em>--privileged</em> but docker swarm currently does not support that (see issue <a href="https://github.com/docker/docker/issues/24862" rel="noreferrer">24862</a>) so I'd have to manually setup the service on each of the hosts, which would not only be a pain, but I'd lose the niceness of swarm's automatic deployment and rollout.</p>
  
  <p>Does anyone have any suggestions on how to make something like this work with docker, or am I just barking up the wrong tree here?</p>