title: Windows 10 Docker Host - Display GUI application from Linux Container
body: <p>I'm trying to use Windows 10 as my host and run Docker containers that contain gui based applications and display them using X11 forwarding or something similar.  Pretty much all of the information I've found online deal with Linux Host to Linux Container (example - <a href="http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker" rel="noreferrer">http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker</a>) where the socket / x11 authority are exposed.  Other information I've found is from previous implementations of Boot2Docker / Windows where virtualbox was required as part of the setup procedure and required VNC.</p>
  
  <p>Basic setup currently, does anyone know what has to be adjusted to get Firefox to display within a window on the host system? -- </p>
  
  <p>Start an XMing server on Windows 10 host</p>
  
  <h2>Dockerfile</h2>
  
  <pre><code>FROM ubuntu:14.04
  RUN apt-get update &amp;&amp; apt-get install -y firefox
  CMD /usr/bin/firefox
  </code></pre>
  
  <h2>Commands</h2>
  
  <pre><code>PS&gt; docker build -t firefox .
  PS&gt; set-variable -name DISPLAY -value localhost:0.0
  PS&gt; docker run -ti --rm -e DISPLAY=$DISPLAY firefox
  </code></pre>
  
  <p>Thanks</p>