I am trying to play a sound within my docker container (using nvidia container runtime) on TX2 through USB headphones.
I have tried using ALSA within my container and sharing my sound cards using
--device /dev/snd. I am also running as
root within my container so the problem is not with my group permissions.
If I run
aplay -l on my host TX2, my USB headphones show up as an audio device and if I run
aplay -l inside my container they no longer do.
Any advice would be appreciated. If I have to use pulseaudio I can as well.