/docker-mediatomb

A Docker container for running Mediatomb

Primary LanguageShell

MediaTomb

A Docker container for running MediaTomb, a free and open source UPnP media server.

Clone repository and build:

$ mkdir -pv ~/src/docker-mediatomb
$ git clone https://github.com/ChimeraCoder/docker-mediatomb.git ~/src/docker-mediatomb
$ sudo docker build --tag=mediatomb ~/src/docker/docker-mediatomb

Example run, where your media from root@dockerHost is mapped to /media inside of the container:

$ sudo docker run --rm --net="host" \
-v /dev/urandom:/dev/urandom \
-v /dev/random:/dev/random \
-v /root/mediatomb:/var/lib/mediatomb \
-v /root/Photos:/media/Photos \
-v /root/Videos:/media/Videos \
-v /root/Music:/media/Music \
mediatomb

Note that the --net="host" flag is required to enable service discovery as per the UPnP protocol. For more information on Docker networking, please read the Network Configuration documentation.

Example Upstart script has been included for launching MediaTomb's Docker container as a system service.

Additional (and ongoing) instructions for MediaTomb used in home automation can be found on opensour.cc (pronounced "open sourcey") at: https://www.opensour.cc/ggcom#automation

License

MediaTomb is free software provided under Version 2 of the GNU Public License

This Docker image is provided under Version 2 of the GNU Public License.

Authors

Original: Aditya Mukerjee

Updates: Louis T. Getterman IV