How to play a wav file from a Docker container and output it from an HDMI-connected monitor

Hi,
Please refer to the post for setting up docker:
Gst-launch-1.0 -vv alsasrc ! alsasink does not work in docker

And try the gst-launch-1.0 command:
Audio playback while recording - #3 by DaneLLL

For playing wav file, the command will be like:

$ gst-launch-1.0 filesrc location=test.wav ! wavparse ! alsasink
1 Like