# Pastebin 8XpEFrlF docker run -it --rm \ --env="DISPLAY=$DISPLAY" \ --volume="$HOME/.Xauthority:/root/.Xauthority:ro" \ --volume /tmp/.X11-unix:/tmp/.X11-unix \ --net=host \ somecontainer