title: Running webdriverio in docker (codeship)
body: <p>I am currently trying to setup a basic repo for my next <a href="https://github.com/MaxKalb/reap" rel="nofollow noreferrer">React project</a>. 
  For that I want to have end-to-end tests in place via webdriverio + cucumber. </p>
  
  <p>While just running <code>wdio</code> works fine locally, I cannot get it to run in my docker container. Even though I added <a href="https://www.npmjs.com/package/wdio-docker-service" rel="nofollow noreferrer">wdio-docker-service</a> it told me:</p>
  
  <pre><code>(service: reap) (step: feature_tests) A service failed in the
  'onPrepare' hook (service: reap) (step: feature_tests) Error: not
  found: java
  </code></pre>
  
  <p>When I was installing java manually in the <a href="https://github.com/MaxKalb/reap/blob/master/Dockerfile" rel="nofollow noreferrer">Dockerfile</a> it would complain:</p>
  
  <pre><code>(service: reap) (step: feature_tests) A service failed in the
  'onPrepare' hook (service: reap) (step: feature_tests) Error: Selenium
  server did not start. (service: reap) (step: feature_tests) Another
  Selenium process may already be running or your java version may be
  out of date. (service: reap) (step: feature_tests) Be sure to check
  the official Selenium release notes for minimum required java version:
  https://raw.githubusercontent.com/SeleniumHQ/selenium/master/java/CHANGELOG
  </code></pre>