I have this debian:jessie based debian:jessie (but this is not very important since I had the same problem with alpine:3.3 ). I got to what I need
mount --bind /htdocs/www /home/user/example.com/www
and i get
mount: permission denied
I cannot find anything in any kernel log, and -vvv does not provide anything interesting. I obviously can do this on the host (with any other pair of subtree / node). In my example above, / htdocs / www is the mount point of the Docker volume, but it does not seem as important as I cannot mount --bind any pair of subtree / node inside the container.
docker bind mount
Morpheu5
source share