title: OSX X11 Error cannot open display
body: <p>I am trying to run any GUI container I can on MacOS. With every container I try (firefox, chrome, tor, spotify, etc) I always get the error <code>Error: cannot open display</code>. And it's not specific to the <code>docker run</code> command where I pass the environment flag with my <code>$DISPLAY</code>. When I try to run <code>xhost +</code> I get the same error.</p>
  
  <p>I have a fresh XQuartz installation. It is up and running. I have turned on "allow connections from network" under security. I've tried building my own images and pulling jessie frazelle's images. I do not suspect it is a docker issue or the Dockerfiles. It is something on the host, my laptop. I can't seem to figure out what it is.</p>
  
  <p>MacOS Sierra 10.12.5<br>
  Docker 17.12.0 Stable<br>
  XQuartz 2.7.11 (xorg-server 1.18.4)<br>
  My local's <code>$DISPLAY</code> is set to <code>:0.0</code></p>