Created
September 14, 2021 09:47
Star
You must be signed in to star a gist
This file contains 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
# 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