dcflachs / docker-containers

2 stars 2 forks source link

Unable to see data #7

Open FeliceSchena opened 3 years ago

FeliceSchena commented 3 years ago

Hi i'm running docker on syno nas. i've maked volume1 shared with: mount --make-rshared volume1/ also i've added -v volume1/docker/vera/in: xxxx/containers -v volume1/docker/vera/out: xxxx/disks:shared i mount my encrypted volume on /mnt/disks/1 but i'm not able to see anything on host(except the dir 1). Any suggestion?

dcflachs commented 3 years ago

You arent using xxxx in your volume line are you? You should have -v volume1/docker/vera/in:/mnt/containers and -v volume1/docker/vera/out:/mnt/disks:shared

FeliceSchena commented 3 years ago

You arent using xxxx in your volume line are you? You should have -v volume1/docker/vera/in:/mnt/containers and -v volume1/docker/vera/out:/mnt/disks:shared Hello thank for the quick reply, Yes obviously, xxx is the path to the mnt dir. I think it's a permission issue. in mnt dir if I type ls -l drwx--------- 1/ but i'm unable to change permission. Maybe i need to set mount option in veracrypt?

dcflachs commented 3 years ago

To be clear /mnt/containers and /mnt/disks are the paths inside the container and need to be exactly that. volume1/docker/vera/in and volume1/docker/vera/out are the paths on your host.

FeliceSchena commented 3 years ago

To be clear /mnt/containers and /mnt/disks are the paths inside the container and need to be exactly that. volume1/docker/vera/in and volume1/docker/vera/out are the paths on your host.

Yes , I know

dcflachs commented 3 years ago

but i'm unable to change permission. Maybe i need to set mount option in veracrypt? You could try setting umask=000 in the Veracrypt Mount options box when mounting a container.

FeliceSchena commented 3 years ago

but i'm unable to change permission. Maybe i need to set mount option in veracrypt? You could try setting umask=000 in the Veracrypt Mount options box when mounting a container.

As soon as I'm back, I'll try. Unfortunately I'm away for two weeks...