How to configure MiniDLNA Docker in Synology DSM?

  dlna, docker, synology

I’m trying to configure MiniDLNA Docker (https://registry.hub.docker.com/r/vladgh/minidlna/) in Synology DSM 7 but it immediately stops with an error. At least I need to pass the parameter for the video folder but when I try to include -v "/Video:/Video" in the Command box, it stops with the following error:

minidlna.c:831: fatal: Unknown option: /Video:/Video

The last configuration I tried to use is the one below:

{
   "cmd" : "-v /Video:/Video",
   "cpu_priority" : 50,
   "enable_publish_all_ports" : false,
   "enable_restart_policy" : false,
   "enabled" : false,
   "env_variables" : [
      {
         "key" : "PATH",
         "value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
      }
   ],
   "exporting" : false,
   "id" : "d84c5b835eb01e22714ce165ddd960f01451a96f0cc0bc4abf7f83ec6cc144a9",
   "image" : "vladgh/minidlna:latest",
   "is_ddsm" : false,
   "is_package" : false,
   "links" : [],
   "memory_limit" : 536870912,
   "name" : "MiniDLNA_03",
   "network" : [
      {
         "driver" : "host",
         "name" : "host"
      }
   ],
   "network_mode" : "host",
   "port_bindings" : [],
   "privileged" : false,
   "shortcut" : {
      "enable_shortcut" : false,
      "enable_status_page" : false,
      "enable_web_page" : false,
      "web_page_url" : ""
   },
   "use_host_network" : true,
   "volume_bindings" : [
      {
         "host_volume_file" : "/Video",
         "mount_point" : "/Video",
         "type" : "rw"
      }
   ]
}

Source: Docker Questions

LEAVE A COMMENT