This repository contains the sources for a Docker image with miniDLNA including a docker-compose file. Thanks to @geekduck for the basis.
MiniDLNA is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.
This image is based on Alpine Linux.
Example usage directly from the command line:
docker run -d --name minidlna \
--net=host \
-p 8200:8200 \
-p 1900:1900/udp \
-v <PATH_TO_MUSIC_DIR>:/opt/Music \
-v <PATH_TO_VIDEOS_DIR>:/opt/Videos \
-v <PATH_TO_PICUTRES_DIR>:/opt/Pictures \
geekduck/minidlna
If you want to overwrite a config file:
docker run -d --name minidlna \
--net=host \
-p 8200:8200 \
-p 1900:1900/udp \
-v <PATH_TO_MUSIC_DIR>:/opt/Music \
-v <PATH_TO_VIDEOS_DIR>:/opt/Videos \
-v <PATH_TO_PICUTRES_DIR>:/opt/Pictures \
-v <PATH_TO_CONFIG_DIR>/minidlna.conf:/etc/minidlna.conf \
geekduck/minidlna
To maintain the configuration, use the included docker-compose file and build and start the container like this:
docker pull alpine:latest
docker-compose build --pull
docker-compose up -d