Cannot mount a RW CIFS volume onto docker container

Hi Everyone,

I have a CIFS volume mounted to the host machine, e.g

mount -t cifs //path/to/smb/share /host/machine/folder -o rw,uid=1001,gid=1001,forceuid,forcegid,username={username},password=‘{password}’,file_mode=0600,dir_mode=0600

then create container as below

docker run -d -u 1001:1001 --name testcontainer -v /host/machine/folder:/readonlydir my-test-image

once container created, “ls -la readolydir” end up like below

d????????? ? ? ? ?            ? .
d????????? ? ? ? ?            ? ..

but if change “file_mode=0600,dir_mode=0600” to “file_mode=0700,dir_mode=0700” everything work just fine.

any idea?