aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--vnc-version/Dockerfile3
2 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 15d5e3b..2d3de52 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,12 @@
# Docker-OSX
-
+#### [Follow @sickcodes on Twitter](https://twitter.com/sickcodes) for v2.0 notification (SSH TUNNELING, XFVB HEADLESS, NFS, FULL AUTO CI/CD)
![Running mac osx in a docker container](/running-mac-inside-docker-qemu.png?raw=true "OSX KVM DOCKER")
Run Mac in a Docker container! Run near native OSX-KVM in Docker! X11 Forwarding!
+
+
+
Author: Sick.Codes https://sick.codes/
Credits: OSX-KVM project among many others: https://github.com/kholia/OSX-KVM/blob/master/CREDITS.md
diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile
index 3c3bede..e3e6103 100644
--- a/vnc-version/Dockerfile
+++ b/vnc-version/Dockerfile
@@ -87,8 +87,9 @@ RUN printf '%s\n' \
'xterm &' > ~/.vnc/xstartup
# this won't work if you have 99 monitors, 98 monitors is fine though
-RUN printf '%s\n%s\n\n' \
+RUN printf '%s\n%s\n%s\n\n' \
'export DISPLAY=:99' \
+'vncserver -kill :99 || true' \
'vncserver -geometry 1920x1080 -depth ${DEPTH:=24} -xstartup ~/.vnc/xstartup :99' > vnc.sh
RUN cat vnc.sh OpenCore-Boot.sh > OpenCore-Boot_custom.sh