Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Created September 14, 2021 09:47
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save awesomebytes/6ef1caef8e921bd3701ede68b4d4c475 to your computer and use it in GitHub Desktop.
# How to play audio from inside a docker container
```bash
# Run your docker image with
-v /run/user/$UID/pulse/native:/run/user/$UID/pulse/native \
-e PULSE_SERVER=unix:/run/user/$UID/pulse/native
```
And you can try to use `speaker-test`.
This was found here: https://stackoverflow.com/a/28995539
After trying a bunch of things.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment