This image implements a Dockerised ALSA player. It requires that you pass along
the /dev/snd device to the container. Provided a file called ping.wav (or
any format supported by aplay), you can use it as follows:
docker run \
--rm \
--device /dev/snd \
-v `pwd`:/data \
yanzinetworks/aplay \
/data/ping.wav
The image uses a user called aplayer internally and arranges for the user to
be member of the audio group in order to be allowed to access the audio
device.
Content type
Image
Digest
Size
9.2 MB
Last updated
about 7 years ago
docker pull yanzinetworks/aplay