title: IP of Docker Container - Virtualbox + Windows
body: <p>What IP address can I use when on Windows machines for an IP of a Docker Container running within a VM on Virtual Box? </p>
  
  <p>I have:</p>
  
  <ul>
  <li>Windows 10 Machine with </li>
  <li>Virtualbox installed with Ubuntu VM </li>
  <li>that has Docker installed </li>
  <li>and a container running with ports 80/443</li>
  </ul>
  
  <p>On the VM I can run docker commands and see container running</p>
  
  <pre><code>vagrant@ubuntu-xenial:~$ docker ps
  CONTAINER ID        IMAGE               COMMAND              CREATED             STATUS              PORTS                                      NAMES
  e7a41b3edecd        nrel/api-umbrella   "api-umbrella run"   17 minutes ago      Up 17 minutes       0.0.0.0:80-&gt;80/tcp, 0.0.0.0:443-&gt;443/tcp   api-umbrella
  vagrant@ubuntu-xenial:~$
  </code></pre>
  
  <p>The IP of that container is: </p>
  
  <pre><code>vagrant@ubuntu-xenial:~$ docker inspect e7a41b3edecd | grep "IPAddress"
              "SecondaryIPAddresses": null,
              "IPAddress": "172.17.0.2",
                      "IPAddress": "172.17.0.2",
  vagrant@ubuntu-xenial:~$
  </code></pre>
  
  <p>I can the ping IP 172.17.0.2 and curl <a href="http://172.17.0.2" rel="noreferrer">http://172.17.0.2</a> on the VM itself. But when trying <a href="http://172.17.0.2" rel="noreferrer">http://172.17.0.2</a> on Windows machines I have not response. </p>
  
  <p><strong>QUESTION</strong>
  - What IP do I use from Windows machine to get at the Docker container running on the VM? </p>