I note this for me . I need to see a log directory on the account over scp. So one soulution for me was to mount with bind the log directory.
mount --bind /some/where /mnt/readonly
mount -o remount,ro,bind /mnt/readonly
August 29, 2019
Bind mount
August 19, 2019
Docker COPY failed: stat
Today I am trying to use docker and saw this problem
COPY failed: stat /var/lib/docker/tmp/docker-builder749895154/docker-directory/apache/project.conf: no such file or directory
The fix for this problem is to check your .gitignore file , and add a exception for that directory
!docker-directory/