Sign inSign up

marcoinacio/spotify

By marcoinacio

Updated over 8 years ago

Dockerize Spotify.

Image
0

234

marcoinacio/spotify repository overview

Usage:

mkdir ~/.config/spotify
mkdir ~/.cache/spotify

Then:

docker run -it --rm \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e DISPLAY=unix$DISPLAY \
    \
    -v /run/user/$UID/pulse/native:/tmp/pulsesocket \
    -e PULSE_SERVER=unix:/tmp/pulsesocket \
    \
    -v ~/.config/spotify:/home/spotify/.config/spotify \
    -v ~/.cache/spotify:/home/spotify/.cache/spotify \
    \
    --name spotify \
    marcoinacio/spotify

Note: if you run Docker before the mkdirs above, you'll have to chown them to your user.

Disclaimer: I'm not the author of the Dockerfile nor I modified it, I just:

Tag summary

Content type

Image

Digest

Size

237.3 MB

Last updated

over 8 years ago

docker pull marcoinacio/spotify