how to open paraView in a Docker window
<p>This is the same problem discussed in
<em><a href="https://stackoverflow.com/questions/36497771/cannot-connect-to-x-server-using-docker-on-os-x-part-ii">Cannot connect to X server using docker on OS X - Part II</a></em>
but never resolved.
In MacOS El Capitan, I'm running the OpenFOAM binary under Docker as there is no native version. I want to use paraView to view results. Cannot run the paraView supplied inside OpenFOAM since I get
<strong>paraview: cannot connect to X server</strong>
The advice here
<em><a href="https://stackoverflow.com/questions/36021958/cannot-connect-to-x-server-using-docker-on-osx">Cannot connect to X server using docker on OSX</a></em>
is to install paraView separately and run it from a normal terminal. This did not work as a normal terminal cannot "see" Docker files. And I cannot run the suggested
<strong>open -a paraview foam.foam</strong>
inside the docker terminal, as for some reason it does not recognize the "open" command.</p>

<p>Perhaps some Docker expert can help?</p>