Public | Automated Build

Last pushed: 2 years ago
Short Description
A docker container to enable Spotify on all Linux distributions.
Full Description

syncomm/spotify

A docker container to enable Spotify on all Linux distributions

Features:

  • Ubuntu based container with the official Spotify package
  • Pulseaudio connectivity for audio
  • X11 socket sharing
  • Runs as a normal user (in the docker group)
  • Uses a volume container for persistent config and cache

Launch with docker-spotify.sh

Note: For those who wish to keep SELinux enabled, please see my docker-spotify SELinux policy. Hardware acceleration is disabled, and for proper operation it needs to remain this way. If you don't see images on the very first run, you may need to restart spotify (once or twice) to enable them.

Install:

On a system with docker installed, run the following command:

curl -s https://raw.githubusercontent.com/syncomm/dockerfiles/master/spotify/docker-spotify.sh | bash

Running docker-spotify.sh will download the syncomm/spotify container, set up the user's cache container, create the sockets for X11 and Pulseaudio, and launch spotify.

Build:

git clone https://github.com/syncomm/dockerfiles.git
cd dockerfiles/spotify
docker build -t syncomm/spotify .

Run with the supplied script docker-spotify.sh to transfer your X11 cookie and set up the Pulseaudio socket.

Docker Pull Command
Owner
syncomm
Source Repository

Comments (2)
charlesmknox
a year ago

Just spun it up a minute ago. Works great. Thank you for making this!

leamas
2 years ago

hm... does this image include the spotify package as stated in the description? In this case it violates the spotify license, which basically bans re-distribution...