title: Is it possible to expose a USB device to an LXC/Docker container?
body: <p>I have an embedded system development image contained in a Docker file. In order to flash the code I need to connect to the nodes via USB Serial (e.g. <code>/dev/ttyACM0</code>).</p>
  
  <p>With Docker I used the new bind mount feature to (see <a href="https://github.com/dotcloud/docker/issues/111" rel="nofollow noreferrer">https://github.com/dotcloud/docker/issues/111</a>, <code>-b</code> or more recently the <code>-v</code> option) to expose the hosts devfs to the container. However, whenever I connect ("cat /d/ttyACM0", d is the bind mount to dev) to the device I get "operation not permitted". Is it possible to not only bind mount, but actually use character devices in the container?</p>
  
  <p>Would it be maybe even possible to expose specific devs via udev rules?</p>