A docker image for the libre version of Subsonic
546

This is a lightweight docker image for Subsonic, built on top of Alpine Linux.
It uses a Libre distribution of Subsonic, free of licensing checks.
Created with minimal and KISS principles, it contains only the parts necessary to run Subsonic, weighing in at just under 250MB.
| Software Stack |
|---|
| Subsonic 5.3 |
| Apache Tomcat 8.0.32 |
| OpenJDK 1.8.0 |
| Alpine Linux 3.3 |
docker run -d --name subsonic-libre \
-v /path/to/your/music/directory/:/var/music/:ro \
-p 8080:8080 \
cavemandaveman/subsonic-libre:latest
You can access the page at http://<host-ip>:8080
First, create a data only container:
docker run --name subsonic-libre-data \
-v /var/subsonic/db/ \
subsonic-libre:latest true
Then link the data container to the image:
docker run -d --name subsonic-libre \
-volumes-from subsonic-data \
-v /path/to/your/music/directory/:/var/music/:ro \
-p 8080:8080 \
cavemandaveman/subsonic-libre:latest
Learn more about managing/persisting your data with data-only containers here.
Note: This will only work if you create a user/group on the host with UID/GID of 666.
docker run -d --name subsonic-libre \
-v /path/where/you/want/to/save/data/:/var/subsonic/db/ \
-v /path/to/your/music/directory/:/var/music/:ro \
-p 8080:8080 \
cavemandaveman/subsonic-libre:latest
Follow the same instructions as the frowned upon way, but replace /path/where/you/want/to/save/data/ with /current/directory/of/subsonic/db/.
Content type
Image
Digest
Size
137 MB
Last updated
over 10 years ago
docker pull cavemandaveman/subsonic-libre