Run Spotify inside an isolated Docker container. This is achieved by sharing a socket for X11 and PulseAudio.
- Clone this repository and change to the directory:
git clone https://github.com/terlar/docker-spotify-pulseaudio.git && cd docker-spotify-pulseaudio
- Build the container:
sudo docker build -t spotify .
- Run the provided spotify script:
scripts/spotify
- Use Spotify.