shell-scripte-code/docker-macos.sh

10 lines
303 B
Bash
Raw Normal View History

2022-02-22 18:27:18 +01:00
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