add docker-macos script
This commit is contained in:
parent
d697deda70
commit
d4a428145e
1 changed files with 10 additions and 0 deletions
10
docker-macos.sh
Executable file
10
docker-macos.sh
Executable 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
|
Loading…
Reference in a new issue