PsyWulf
Honorary Master
- Joined
- Nov 22, 2006
- Messages
- 19,603
- Reaction score
- 14,922
Nah it's not that bad these daysIt should be easy enough to mount the shares as SMB in Linux, and then just point the containers to it with a mount point.
Take note that I said should, so expect some headaches with NTFS compatibility, permissions and deep delves with chown and chmod commands
Mount your path on the host
sudo mount -t cifs -o rw,vers=3.0,credentials=/root/.smbcredentials,file_mode=0700,dir_mode=0700,uid=1000,gid=1000 //server/files /mnt/shares/server/files
Then just add the mount as a volume in docker - all you need to make sure of is your credentials file is correct,and the container is running same uid that has access to the mount,and your NTFS user has the permissions for the SMB share