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/