Docker - Folder settings

    • OMV 3.x
    • Docker - Folder settings

      I'm a complete docker newbie and looking at using it as a way of separating plugins from the OS.

      I'm trying to get my first plugin up and running (sabnzbd) and while I can talk to it over the network, I'm having real problems with the folders and storage and haven't really been able to find anything in the way of documentation for the plugin to explain what the settings are.

      What I really want is to be able to define the folders or /config path to use, so that data is stored outside of the container.
      However, I've tried setting the HOME variable, the host paths individually and the container path and nothing seems to use the folder structure I want.

      say I have a folder called /media/xxxx-1234-abcde/Usenet, how do I get the container to create the sabnzbd folder structure inside that shared folder and continue to use that going forward?

      Thanks.
    • You can try the guide in the forum section on how to use the docker plugin. Docker is extensively well documented.

      docs.docker.com/engine/reference/commandline/run/

      Also good public images are also documented on how to run containers. Check linuxserver
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Getting there.

      Just a couple of issues now in that the GUID setting seems to be being ignore in the variables and instead it's changing the GID of the .config folder to 911 instead of 100 which is the specified GID of the users group.

      The other issue is that although the /config mapping is working correctly to /home/docker/.config/sabnzbd, the download and incomplete-download folder settings are being placed under /home/docker/.config/sabnzbd rather than to the sabnzbd folders that I've specified on external storage.

      I'll have another look tomorrow.
      Thanks again.
    • dojrude wrote:

      Getting there.

      Just a couple of issues now in that the GUID setting seems to be being ignore in the variables and instead it's changing the GID of the .config folder to 911 instead of 100 which is the specified GID of the users group.

      The other issue is that although the /config mapping is working correctly to /home/docker/.config/sabnzbd, the download and incomplete-download folder settings are being placed under /home/docker/.config/sabnzbd rather than to the sabnzbd folders that I've specified on external storage.

      I'll have another look tomorrow.
      Thanks again.

      Can you post a screenshot of the docker container settings?
    • Sorry for not responding earlier, but I managed to get it all working in the end. What I didn't realize was that the container paths specified referenced root, i.e. /downloads /incomplete-downloads, where as SABnzbd was referencing them locally from the /config container path i.e. downloads = /home/docker/.config/sabnzbd/downloads and incomplete-downloads = /home/docker/.config/sabnzbd/incomplete-downloads. As soon as I changed the paths in the SAB config (not the docker config) to use /downloads and /incomplete-downloads everything started working.