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