Skip to content

Instantly share code, notes, and snippets.

@iamteem
Forked from nloadholtes/docker_gui_apps_linux_mint
Last active September 20, 2016 19:22
Show Gist options
  • Save iamteem/f6b82df3ba046d952bc6 to your computer and use it in GitHub Desktop.
Save iamteem/f6b82df3ba046d952bc6 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