Skip to content

Instantly share code, notes, and snippets.

@nloadholtes
Created May 24, 2015 04:02
Show Gist options
  • Save nloadholtes/01dfc7540a1f29f143d3 to your computer and use it in GitHub Desktop.
Save nloadholtes/01dfc7540a1f29f143d3 to your computer and use it in GitHub Desktop.
Getting ubuntu 14/Linux Mint 17 to show GUI apps from Docker
Newer version of Ubuntu (and Linux mint) have .Xauthority and that will interfere with your ability to run X11 apps from a docker container. Here's how you get around that:
docker run -ti -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY --net=host -v $HOME/.Xauthority:/root/.Xauthority <and the rest of your docker string...>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment