Shared folders hosted on another machine #861
-
|
My docker host is on a VM hosted by Truenas, and the folders I want to share in slskd are located in my Truenas main system. So I am trying to get around this by sharing them via NFS network share and setting up a mount in /etc/ fstab of the docker host VM. So far the logs say my directory is invalid in the config, even although I can access this share from the docker host using the same path I have entered in the config. From the configuration notes: "Sharing a root mount on a unix-like OS (/) is also not supported." - does this mean shared folders must be on the same machine as the docker installation? Are network shares supported? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Network shares are supported (e.g. UNC paths), and mounts aren't treated any differently within the application; it's transparent. Some of the earliest versions were developed using NFS mounts, so it's completely possible. I did find them to be slow and unreliable, but that's not an application issue. You might be missing a volume; I would suggest running the container interactively to see what mounts it knows about: docker run -it --entrypoint /bin/sh slskd/slskd:latest |
Beta Was this translation helpful? Give feedback.
Network shares are supported (e.g. UNC paths), and mounts aren't treated any differently within the application; it's transparent. Some of the earliest versions were developed using NFS mounts, so it's completely possible. I did find them to be slow and unreliable, but that's not an application issue.
You might be missing a volume; I would suggest running the container interactively to see what mounts it knows about: