Running Docker for Windows, Error when exposing Ports
<p>I am aware there are a lot of questions about running Docker on windows, however this question is about running the brand new Docker for Windows, on Windows.<br>
In my case I am using Windows 10 Pro 64 bit. According to the site this version should be supported.<br>
I have been following a tutorial I found here:
<a href="https://prakhar.me/docker-curriculum/" rel="noreferrer">https://prakhar.me/docker-curriculum/</a><br>
I also tried following the official guide of course: <a href="https://docs.docker.com/docker-for-windows/" rel="noreferrer">https://docs.docker.com/docker-for-windows/</a></p>

<p>In both tutorials I get the same error message when trying to assign a port using either the <code>-P</code> parameter or when trying to specify a port <code>-p 8080:5000</code>:</p>

<p>In the official guide I run <code>docker run -d -p 80:80 --name webserver nginx</code> and get:  </p>

<blockquote>
  <p>C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint webserver (f9946544e4c6ad2dd9cb8cbccd251e4d48254e86562bd8e6da75c3bd42c7e45a): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:80:tcp:172.17.0.2:80: input/output error.</p>
</blockquote>

<p>Following the unofficial guide i run <code>docker run -p 8888:5000 prakhar1989/catnip</code> and get basically the same error:  </p>

<blockquote>
  <p>C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint focused_swartz (48a0c005779c6e89bf525ead2ecff44a7f092495cd22ef7d19973002963cb232): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:8888:tcp:172.17.0.2:5000: input/output error.</p>
</blockquote>

<p>If I don't try to assign a port the container will run, but then I don't know how to access it.</p>

<p>The docker version I am running:  </p>

<ul>
<li>Docker version 1.12.3, build 6b644ec`  </li>
<li>docker-compose version 1.8.1, build 004ddae`  </li>
<li>docker-machine.exe version 0.8.2, build e18a919`  </li>
</ul>

<p>Any help would be very appreciated. Thank you.</p>