shell-scripte-code/docker-macos.sh
2022-02-22 18:27:18 +01:00

10 lines
No EOL
303 B
Bash
Executable file

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