title: Gitlab runner: It is possible running an docker image that depends from another
body: <p>The scenario it's the following:</p>
  
  <p>I need run <code>grunt serve</code> that serve my app in localhost:9000 in my process of continuous integration using a docker container, then I need run another container that, using the application served in the localhost:9000, executes a integration testing:</p>
  
  <p><strong>My gitlab.yml file</strong> </p>
  
  <pre><code>unit-testing:
    image: karma-testing
    script:
      - npm install &amp;&amp; bower install &amp;&amp; karma start &amp;&amp; grunt serve
    cache:
      paths:
      - node_modules/
      - bower_components/
  
  behavior-testing:
    image: protractor-ci
    script:
      - npm install protractor-cucumber-framework cucumber &amp;&amp; xvfb-run --server-args='-screen 0 1280x1024x24' protractor protractor.conf.js
    cache:
      paths:
      - node_modules/
      - bower_components/
  </code></pre>
  
  <p>The first image run the <code>grunt serve</code> task that serve my app in localhost:9000 and I want that the second image uses this running app for running the another script.</p>