title: How to run Karma tests from docker container?
body: <p>I've recently moved my node.js app into a docker image and I'd like to run my tests inside the image. My mocha/node tests work fine but the Karma tests involve starting Chrome to run the tests and Chrome isn't installed in the container.</p>
  
  <p>How do I go about addressing this?</p>
  
  <ul>
  <li>Install Chrome in the Container? Seems less than ideal as I don't want to ship Chrome to my production servers inside the container.</li>
  <li>Somehow allow it to connect to Chrome on the host?</li>
  <li>Create a new image that inherits from my app image and adds Chrome and other things?</li>
  </ul>
  
  <p>Googling 'docker &amp; karma' reveals docker images out there but I can't find instructions on how to think about the problem and the best approach.</p>