This seems the correct advice. If the container is on the same host as the data, there’s no need to access the data via Samba. In fact, it’s likely the container doesn’t contain the samba client needed for such connectivity.
Assuming TrueNAS allows the containers to see local data, a bind mount is the way to go.
DmMacniel@feddit.org 3 months ago
Have you bind your audiobook directory to the containers /audiobook directory?
What format are your audiobooks?
Have you tried uploading one via the GUI?
HybridSarcasm@lemmy.world 3 months ago
This seems the correct advice. If the container is on the same host as the data, there’s no need to access the data via Samba. In fact, it’s likely the container doesn’t contain the samba client needed for such connectivity.
Assuming TrueNAS allows the containers to see local data, a bind mount is the way to go.
Daniel_Deghaye@sh.itjust.works 3 months ago
how do i bind it?
RandomLegend@lemmy.dbzer0.com 3 months ago
www.truenas.com/docs/scale/22.12/…/docker/#adding…
Scrolling down should show you the different screenshots. Point 6. of the list should show the “Storage” Tab where you have the “Host Path Volumes”
That should enable you to link a path on your host to a path on your docker container.
For example Host: /mnt/mediashare/audiobooks Container: /media/audiobooks
DmMacniel@feddit.org 3 months ago
I sadly do not know how to do it in truenas.
Daniel_Deghaye@sh.itjust.works 3 months ago
I’ll figure it out