title: Ubuntu Docker Image Error: Could not connect to any X display
body: <p>I am running a Docker Image in Ubuntu 18.04 (using Virtualbox from Windows 10) terminal. When I ran the Docker Image volume-test, I am getting the following error.  </p>
  
  <pre><code>sreeraj@sreeraj-VirtualBox:~$ sudo docker run volume-test 
  QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  qt.qpa.screen: QXcbConnection: Could not connect to display 
  Could not connect to any X display.
  sreeraj@sreeraj-VirtualBox:~$ 
  </code></pre>
  
  <p>How can I solve this issue ? </p>