mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-29 10:56:19 +00: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 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue