Portal:Container/Image/minidlna
openSUSE minidlna Container Image
Description
This container image contains the latest minidlna daemon from openSUSE Tumbleweed.
Location
- registry.opensuse.org/opensuse/minidlna
Configuration
Prefix any configuration directive of MiniDLNA with MINIDLNA_ E.g.: MINIDLNA_MEDIA_DIR=/media MINIDLNA_MEDIA_DIR_1=A,/media/audio MINIDLNA_MEDIA_DIR_2=V,/media/video MINIDLNA_FRIENDLY_NAME="My DNLA Server"
This will create a minidlna.conf file with this settings on each run of the container.
Run
# podman run -d --rm -v /media:/media --net=host --name minidlna --env MINIDLNA_MEDIA_DIR=/media registry.opensuse.org/opensuse/minidlna
The container needs to run in host mode for it to be able to receive UPnP broadcast packets. The default bridge mode will not work.
Systemd support
The package containers-systemd contains a service file and etc/default file to configure and automatically start the minidlna container with systemd.
# systemctl start container-minidlna