Skip to content

Commit

Permalink
Merge pull request sickcodes#442 from routmoute/master
Browse files Browse the repository at this point in the history
README: add PulseAudio with WSLg
  • Loading branch information
sickcodes authored Feb 8, 2022
2 parents b0ac21a + 142dad2 commit 3621847
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,17 @@ docker run \
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)

It's possible to forward additional ports depending on your needs. In this example, we'll use Mac OSX to host nginx:
Expand Down

0 comments on commit 3621847

Please sign in to comment.