Docker image for the Subsonic Media Streamer using Alpine Linux
100K+
This repository contains configuration to build a Subsonic media streamer Docker container. This work was derived from Michael Scherig's Subsonic Docker Image repo, but uses Alpine Linux as the base container for a smaller footprint (about 250M vs 512M for the Debian based version).
Install directly from Docker hub with:
$ docker pull mpaganini/alpine-subsonic
It is also possible to build your own image:
$ git clone http://github.com/marcopaganini/alpine-subsonic.git
$ cd alpine-subsonic
$ ./build.sh
Create user subsonic on your host computer, uid 10000
For the example below, we assume your media is under /var/music_on_host and
can be read by uid 10000 on the host computer. (either chmod your entire
media library o+rX or set it to the correct uid/gid). Feel free to change the
media directory to match your reality.
We'll save state under /var/subsonic on the host computer. This makes it easier
to update the containers and backup state information.
$ mkdir /var/subsonic
$ chown subsonic /var/subsonic
$ chmod o+rwx /var/subsonic
$ docker run \
--detach \
--publish 4040:4040 \
--volume "/var/music_on_host:/var/music:ro" \
--volume "/var/subsonic:/var/subsonic" \
mpaganini/alpine-subsonic
Point your browser to http://your_host:4040 and proceed with the web-based Subsonic setup. See Subsonic's home page at http://subsonic.org for documentation.
Again, my thanks to Michael Schuerig for the idea and his configuration.
If you find bugs, open a bug in Github or send a Change request with a fix. Feedback is always appreciated.
Content type
Image
Digest
Size
173 MB
Last updated
over 6 years ago
docker pull mpaganini/alpine-subsonic