aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorname <[email protected]>2020-06-05 18:45:47 +0000
committername <[email protected]>2020-06-05 18:45:47 +0000
commit028bce4b41236454d3e8e824b087f22fed03fd38 (patch)
tree36427489964801d927ed5fd3185750b2465c73d3
parentx11 xhost (diff)
downloaddocker-osx-028bce4b41236454d3e8e824b087f22fed03fd38.tar.xz
docker-osx-028bce4b41236454d3e8e824b087f22fed03fd38.zip
More reasonable command to account for every $DISPLAY number
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index bb4d114..23abc38 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Pull requests, suggestions very welcome!
docker pull sickcodes/docker-osx
-docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
+docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
# press ctrl G if your mouse gets stuck