add docker-macos script

This commit is contained in:
Simon Rieger 2022-02-22 18:27:18 +01:00
parent d697deda70
commit d4a428145e

10
docker-macos.sh Executable file
View file

@ -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