title: not able to access angular2 app from docker container
body: <p>I created a docker container using official node image.</p>
  
  <pre><code>docker pull node
  </code></pre>
  
  <p>then I created an angular 2 app using angular-cli.</p>
  
  <pre><code>ng new docker-demo
  </code></pre>
  
  <p>then I ran my docker container from the directory of my angular2 app using following command:</p>
  
  <pre><code>cd docker-demo
  </code></pre>
  
  <p>&amp;  then inside the directory :</p>
  
  <pre><code>docker run -p 8080:4200 -v $(pwd):/var/www -w "/var/www" node npm start
  </code></pre>
  
  <p>where pwd stands for directory of my angular2 app.</p>
  
  <p>now in my console I can see my angular2 app getting bundled &amp; running just like it runs on my local machine.</p>
  
  <p>but when I try to access it from my browser using ip of my docker-machine :</p>
  
  <pre><code>http://192.168.99.100:8080/
  </code></pre>
  
  <p>it doesn't work.</p>
  
  <p>PS: angular2 app works perfectly fine in my local system.</p>
  
  <p>is there any extra configuration required?</p>
  
  <p>any inputs?</p>
  
  <p>thanks in advance.</p>