[GH-ISSUE #84] Dockerfile to create a docker file for the RPI #74

Closed
opened 2026-02-27 19:28:41 +03:00 by kerem · 4 comments
Owner

Originally created by @sashahilton00 on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/84

Issue by romerod
Saturday Sep 02, 2017 at 11:51 GMT
Originally opened as https://github.com/plietar/librespot/pull/242


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


romerod included the following code: https://github.com/plietar/librespot/pull/242/commits

Originally created by @sashahilton00 on GitHub (Jan 29, 2018). Original GitHub issue: https://github.com/librespot-org/librespot/issues/84 <a href="https://github.com/romerod"><img src="https://avatars1.githubusercontent.com/u/3213790?v=4" align="left" width="96" height="96" hspace="10"></img></a> **Issue by [romerod](https://github.com/romerod)** _Saturday Sep 02, 2017 at 11:51 GMT_ _Originally opened as https://github.com/plietar/librespot/pull/242_ ---- Multistage dockerfile to create a docker image which can be run on the RPI ---- _**[romerod](https://github.com/romerod)** included the following code: https://github.com/plietar/librespot/pull/242/commits_
kerem 2026-02-27 19:28:41 +03:00
Author
Owner

@sashahilton00 commented on GitHub (Jan 29, 2018):

Comment by superlupo12
Saturday Sep 02, 2017 at 15:31 GMT


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

<!-- gh-comment-id:361276503 --> @sashahilton00 commented on GitHub (Jan 29, 2018): <a href="https://github.com/superlupo12"><img src="https://avatars3.githubusercontent.com/u/19894285?v=4" align="left" width="48" height="48" hspace="10"></img></a> **Comment by [superlupo12](https://github.com/superlupo12)** _Saturday Sep 02, 2017 at 15:31 GMT_ ---- What's the use case for this? Why would you want that?
Author
Owner

@sashahilton00 commented on GitHub (Jan 29, 2018):

Comment by maxx
Saturday Sep 02, 2017 at 15:56 GMT


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

<!-- gh-comment-id:361276534 --> @sashahilton00 commented on GitHub (Jan 29, 2018): <a href="https://github.com/maxx"><img src="https://avatars3.githubusercontent.com/u/2896?v=4" align="left" width="48" height="48" hspace="10"></img></a> **Comment by [maxx](https://github.com/maxx)** _Saturday Sep 02, 2017 at 15:56 GMT_ ---- @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?
Author
Owner

@sashahilton00 commented on GitHub (Jan 29, 2018):

Comment by romerod
Saturday Sep 02, 2017 at 18:22 GMT


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

<!-- gh-comment-id:361276560 --> @sashahilton00 commented on GitHub (Jan 29, 2018): <a href="https://github.com/romerod"><img src="https://avatars1.githubusercontent.com/u/3213790?v=4" align="left" width="48" height="48" hspace="10"></img></a> **Comment by [romerod](https://github.com/romerod)** _Saturday Sep 02, 2017 at 18:22 GMT_ ---- 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
Author
Owner

@ComlOnline commented on GitHub (Jan 29, 2018):

This is outside the scope of librespot but its soon to be be sister project librespotd, may handle it eventually? #20.
I'm closing this for now.

<!-- gh-comment-id:361330724 --> @ComlOnline commented on GitHub (Jan 29, 2018): This is outside the scope of librespot but its soon to be be sister project librespotd, may handle it eventually? #20. I'm closing this for now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#74
No description provided.