Closed joelguittet closed 3 months ago
Answering myself to the issue, I had the following idea, which has properly worked.
Start the container but binding /volume3/psitransfer/data
to /somethingelse
.
Then go in the container with a command like sudo docker exec -it <container id> /bin/sh
.
Execute the following IN the container: chown -R 1000:root /somethingelse
.
Execute the following IN the container: chmod 755 /somethingelse
.
Then exit, stop the container and start again but binding /volume3/psitransfer/data
to /data
.
Working. This trick permit to properly setup the data directory of the volume.
Joel
Hello,
Nice solution but difficulties here to configure the /data directory using Docker on Synology NAS. My configuration is the following:
/volume3/psitransfer/data
sudo chown -R 1000 data
, which permit to have the correct (I guess) permissions has shown below:But despite this I get the following error while binding the
/volume3/psitransfer/data
directory to/data
in docker volume configuration:I have seen 2 or 3 issues here speaking of this topic but they just mention to use the chown command .... Seems the issue is something else...
Any feedback appreciated :-)
Thanks, Joel