Hi all,
I’m having the following problem:
I have a script that uses rsync to fetch files from a remote server and writes it to a cifs share (WD NAS). I used to use this for years on an Ubuntu Laptop. Now I wanted to move this into a docker container on my Windows 10 machine.
Now everything is working as before (almost everything)
The problem is, that now files with umlauts in the filename (I have no control over what files/filenames will be there to rsync) - these are garbled and cannot be read i.e. by tar.
On the ubuntu laptop I have this entry in the fstab:
//{NAS-IP-ADDRESS}/{sharename} /media/{mountname} cifs rw,username={myusername},password={mypassword} 0 0
In my docker-compose,yml:
...
services:
...
volumes:
- type: volume
source: myvolume
target: /media/{mountname}
volume:
nocopy: true
volumes:
myvolume:
driver_opts:
type: cifs
o: username={myusername},password={mypassword},uid=0,vers=3.0
device: "//{NAS-IP-ADDRESS}/{sharename}"
what am I missing? I tried to add iocharset=iso8859-15, iocharset=iso8859-15 and iocharset=utf8 to the o: line - all to no avail - nothing changed
I also tried to connect via nfs - same result
Any ideas?
I’m thankful for all suggestions to solve this problem.