You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I'd make a contribution here and share how I am running librespot in a container on my Fedora Linux 32 system, using podman (rather than Docker).
I then run the container using the following command: podman run -dt --net host --device=/dev/snd localhost/librespot
--net host ensures it uses the container host's network interface so that it can be seen via mDNS over the networkl --device=/dev/snd gives the container access to the host's sound device
This works well for me, so I thought I'd share it with anybody interested. Always happy to answer questions and try to help others.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I thought I'd make a contribution here and share how I am running librespot in a container on my Fedora Linux 32 system, using podman (rather than Docker).
I have created my own very simple container image based on this Dockerfile:
https://github.com/eraser215/fedoralaptop/blob/master/files/containers/librespot/Dockerfile
I build it:
podman build --tag=librespot .
I then run the container using the following command:
podman run -dt --net host --device=/dev/snd localhost/librespot
--net host
ensures it uses the container host's network interface so that it can be seen via mDNS over the networkl--device=/dev/snd
gives the container access to the host's sound deviceThis works well for me, so I thought I'd share it with anybody interested. Always happy to answer questions and try to help others.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions