I'm trying to simply deploy a container while using the -v flags to mount persistent data from my Synology 'Docker' share into the container. I get below error:
Running other containers on this exact same way goes without problems..
Shadow@NAS3:/volume1/docker$ sudo docker run --name nginx-php --hostname nginx-php --restart unless-stopped --network physical _network_noproxy --ip 192.168.1.210 --dns 192.168.1.194 -v /volume1/docker/nginx-php/etc:/etc -v /volume1/docker/nginx-php/sha re:/var/www/html -d trafex/alpine-nginx-php7
7327f229afa438bdc2875cf8acc7b2a64885d3c4e3c5f00b360abcc614249133
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "chdi r to cwd (\"/var/www/html\") set in config.json failed: permission denied": unknown.
Running other containers on this exact same way goes without problems..
Even this doesn't work... Anyone has any tips for me...?Shadow@NAS3:/volume1/docker/nginx-php$ ls -l
total 0
drwxrwxrwx+ 1 root root 710 Nov 9 12:45 etc
drwxrwxrwx+ 1 root root 44 Nov 9 12:45 share
drwxrwxrwx+ 1 root root 20 Nov 9 12:45 share2
Shadow@NAS3:/volume1/docker/nginx-php$