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:
docker run -d --name minidlna \
--net=host \
-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 \
-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