Sign inSign up

alexballas/spotify

By alexballas

Updated over 10 years ago

Run spotify-client with docker

Image
0

505

alexballas/spotify repository overview

This was tested with Ubuntu 12.04 and 15.10

Here is an example script on how to make it work:

pactl load-module module-native-protocol-tcp auth-anonymous=1 2> /dev/null
pactl load-module module-zeroconf-publish 2> /dev/null
xhost +
docker run -ti --rm \
	-e DISPLAY=$DISPLAY \
	-e PULSE_SERVER=$(ip addr show docker0  | grep -w inet | awk '{print $2}' | sed 's/\/.*//') \
	-v /tmp/.X11-unix:/tmp/.X11-unix \
	-v /dev/shm/spotify-docker:/dev/shm \
	alexballas/spotify spotify

Tag summary

Content type

Image

Digest

Size

215.1 MB

Last updated

over 10 years ago

docker pull alexballas/spotify