mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-23 02:39:59 +08:00
More reasonable command to account for every $DISPLAY number
This commit is contained in:
parent
062b2133fc
commit
028bce4b41
@ -16,7 +16,7 @@ Pull requests, suggestions very welcome!
|
|||||||
|
|
||||||
docker pull sickcodes/docker-osx
|
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
|
# press ctrl G if your mouse gets stuck
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user