Created
September 14, 2021 09:47
-
-
Save awesomebytes/6ef1caef8e921bd3701ede68b4d4c475 to your computer and use it in GitHub Desktop.
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
| # 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