chr1st1ank / docker-minidlna

MiniDLNA docker image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MiniDLNA Docker image

This repository contains the sources for a Docker image with miniDLNA including a docker-compose file. Thanks to @geekduck for the basis.

MiniDLNA

MiniDLNA is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.

MiniDLNA Docker Images

This image is based on Alpine Linux.

Usage

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

Usage with docker-compose

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

About

MiniDLNA docker image

License:MIT License


Languages

Language:Dockerfile 100.0%