librespot icon indicating copy to clipboard operation
librespot copied to clipboard

Dockerfile to create a docker file for the RPI

Open romerod opened this issue 7 years ago • 3 comments

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

romerod avatar Sep 02 '17 11:09 romerod

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

superlupo12 avatar Sep 02 '17 15:09 superlupo12

@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?

maxx avatar Sep 02 '17 15:09 maxx

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

romerod avatar Sep 02 '17 18:09 romerod