Cannot access server in docker container
<p>I started a docker image using </p>

<pre><code>docker run --interactive --tty node_web_1
</code></pre>

<p>And the running server inside the container successfully prints</p>

<pre><code>Running on http://localhost:8080
</code></pre>

<p>in the console. I have exposed port 8080 in the Dockerfile. So in my understanding, when I call <a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a> in the browser in windows, I should access the server in the container, right? I get no reply though....</p>

<p>How do I go about finding the error? I executed the command</p>

<pre><code>docker-machine ls
</code></pre>

<p>as suggested here <a href="https://stackoverflow.com/questions/27191815/cant-access-containers-web-server-from-host-what-am-i-doing-wrong">How to access Docker container&#39;s web server from host</a> but apparently I have no docker-machines running? What are those machines? Do I need them? I have only docker for windows installed, no additionall packages or shells.</p>