mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-29 22:15:49 +08:00
Merge pull request #442 from routmoute/master
README: add PulseAudio with WSLg
This commit is contained in:
commit
3621847c23
11
README.md
11
README.md
@ -772,6 +772,17 @@ docker run \
|
|||||||
sickcodes/docker-osx pactl list
|
sickcodes/docker-osx pactl list
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### PulseAudio with WSLg
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run \
|
||||||
|
--device /dev/kvm \
|
||||||
|
-e AUDIO_DRIVER=pa,server=unix:/tmp/pulseaudio.socket \
|
||||||
|
-v /mnt/wslg/runtime-dir/pulse/native:/tmp/pulseaudio.socket \
|
||||||
|
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix \
|
||||||
|
sickcodes/docker-osx
|
||||||
|
```
|
||||||
|
|
||||||
### Forward additional ports (nginx hosting example)
|
### Forward additional ports (nginx hosting example)
|
||||||
|
|
||||||
It's possible to forward additional ports depending on your needs. In this example, we'll use Mac OSX to host nginx:
|
It's possible to forward additional ports depending on your needs. In this example, we'll use Mac OSX to host nginx:
|
||||||
|
Loading…
Reference in New Issue
Block a user