Created
January 20, 2022 21:24
-
-
Save evilz/0b24e3800e84609c316b0147d7411693 to your computer and use it in GitHub Desktop.
Docker-OSX-WSL2G
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it \ | |
--device /dev/kvm \ | |
-p 50922:10022 \ | |
-e "DISPLAY=${DISPLAY:-:0}" \ | |
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix \ | |
-e GENERATE_UNIQUE=true \ | |
-e AUDIO_DRIVER=pa,server=unix:/tmp/pulseaudio.socket \ | |
-v "/run/user/$(id -u)/pulse/native:/tmp/pulseaudio.socket" \ | |
-e RAM=8 \ | |
-v "/mnt/c:/mnt/c" \ | |
-e EXTRA="-virtfs local,path=/mnt/c,mount_tag=c,security_model=passthrough,id=c" \ | |
sickcodes/docker-osx:auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment