title: My docker container isn't starting on localhost (0.0.0.0) on Docker for Windows (Native using Hyper-V)
body: <p>I'm following <a href="https://www.digitalocean.com/community/tutorials/how-to-run-nginx-in-a-docker-container-on-ubuntu-14-04" rel="noreferrer">Digital Ocean's tutorial</a> on how to start a nginx docker container (Currently on Step 4). Currently this is their output:</p>
  
  <pre><code>$ docker run --name docker-nginx -p 80:80 -d nginx
  d3ccb73a91985651ec61231bca9f9c716f0dec807e354a29eeef2144f883a01c
  
  $ docker ps
  CONTAINER ID        IMAGE               COMMAND                  CREATED              STATUS              PORTS                         NAMES
  b91f3ce26553        nginx               "nginx -g 'daemon off"   About a minute ago   Up About a minute   0.0.0.0:80-&gt;80/tcp, 443/tcp   docker-nginx
  </code></pre>
  
  <p>But when I run it, this is my output (noticed the different IP of the container):</p>
  
  <pre><code>C:\&gt;docker run --name docker-nginx -p 80:80 -d nginx
  d3ccb73a91985651ec61231bca9f9c716f0dec807e354a29eeef2144f883a01c
  
  C:\&gt;docker ps
  CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                           NAMES
  d3ccb73a9198        nginx               "nginx -g 'daemon off"   14 hours ago        Up 2 seconds        10.0.75.2:80-&gt;80/tcp, 443/tcp   docker-nginx
  </code></pre>
  
  <p>Why does this happen? And how can I get the same results as Digital Ocean's? (Getting the server to start on localhost)</p>
  
  <hr>
  
  <p><strong>Edit</strong>: I'm using <a href="https://docs.docker.com/docker-for-windows/" rel="noreferrer">Docker for windows</a> (recently released) which apparently runs native using Hyper-V. My output for <code>docker-machine ls</code> is this:</p>
  
  <pre><code>C:\&gt;docker-machine ls
  NAME   ACTIVE   DRIVER   STATE   URL   SWARM   DOCKER   ERRORS
  
  C:\&gt;
  </code></pre>