aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlexander Clouter <[email protected]>2020-09-20 10:18:40 +0100
committerAlexander Clouter <[email protected]>2020-09-20 11:18:11 +0100
commit96302c6f6d64795a27541e3a295131bedf8bae84 (patch)
treea31139097ec6f2b0e7dae35095f0addf079f7819 /README.md
parentsupport fallback to tcg from kvm (diff)
downloaddocker-osx-96302c6f6d64795a27541e3a295131bedf8bae84.tar.xz
docker-osx-96302c6f6d64795a27541e3a295131bedf8bae84.zip
remove need for DISPLAY
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index f3bfe76..9999675 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ Pull requests, suggestions very welcome!
docker pull sickcodes/docker-osx
-docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
+docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
# press ctrl G if your mouse gets stuck
@@ -40,7 +40,7 @@ docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X1
# need more RAM and SSH on 0.0.0.0:50922?
-docker run -e RAM=4 -p 50922:10022 --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx:latest
+docker run -e RAM=4 -p 50922:10022 --privileged -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx:latest
ssh fullname@localhost -p 50922
@@ -109,7 +109,7 @@ docker ps --all #make note of your container id
docker commit containerID newImageName
# To run this image do the following
-docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix newImageName
+docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix newImageName
```
# Troubleshooting
@@ -130,7 +130,7 @@ sudo yum install xorg-x11-server-utils
# then run
xhost +
-docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx ./OpenCore-Boot.sh
+docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx ./OpenCore-Boot.sh
```
Alternative run, thanks @roryrjb