plietar / librespot

Open Source Spotify client library
MIT License
1.13k stars 187 forks source link

Dockerfile to create a docker file for the RPI #242

Open romerod opened 6 years ago

romerod commented 6 years ago

Multistage dockerfile to create a docker image which can be run on the RPI

superlupo12 commented 6 years ago

What's the use case for this? Why would you want that?

maxx commented 6 years ago

@romerod I was interested in this at one point, but I found it very difficult to get sound out of a docker container. You would need to use pulse audio sockets or something like that. Or did you find a better way?

romerod commented 6 years ago

I'm using this image on a RPI which runs hypriot and is connected by HDMI to my onkyo receiver.

By passing all the devices into the docker instance, sound works without any problems and by using "host" as network discoverable mode works too