title: How to run protractor on docker?
body: <p>I'm a newb with docker &amp; protractor so please bear with me.</p>
  
  <p>I have an app that uses python and django for its backend API, and angular.js for its frontend and e2e test with protractor. So this is how I think I should proceed:</p>
  
  <ol>
  <li>I must set a docker container for my <strong>backend</strong> which is in Python-Django, then expose this API through some PORT.</li>
  <li>Create another container (or a layer not sure which) for the angular.js <strong>frontend</strong>.</li>
  <li>Download an image for protractor and build the container.</li>
  <li>Connect all of this containers layer through docker network?</li>
  </ol>
  
  <h3>Alternative</h3>
  
  <ol>
  <li>Run backend on local machine.</li>
  <li>Create docker container for protractor and somehow point the e2e test to the container?</li>
  </ol>
  
  <p>Please help me review the steps to achieve this. <a href="https://www.youtube.com/watch?v=j8bDQPVenHQ" rel="nofollow noreferrer">This video</a> gives some insight but not sure where to start.</p>