Skip to content

YanziNetworks/docker-aplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Docker ALSA Player

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.

About

Dockerised ALSA player

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published