From d4a428145edb8b48192b029ac60be040fea151dc Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 22 Feb 2022 18:27:18 +0100 Subject: [PATCH] add docker-macos script --- docker-macos.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 docker-macos.sh diff --git a/docker-macos.sh b/docker-macos.sh new file mode 100755 index 0000000..57a00bd --- /dev/null +++ b/docker-macos.sh @@ -0,0 +1,10 @@ +xhost + + +docker run -it \ + --device /dev/kvm \ + -p 50922:10022 \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + -e "DISPLAY=${DISPLAY:-:0.0}" \ + -e AUDIO_DRIVER=pa,server=unix:/tmp/pulseaudio.socket \ + -v "/run/user/$(id -u)/pulse/native:/tmp/pulseaudio.socket" \ + sickcodes/docker-osx:latest \ No newline at end of file