Closed skrysmanski closed 8 years ago
This is not a MaestroNG problem. Maybe https://docs.docker.com/engine/reference/builder/ will help you?
@mpetazzoni I'm totally sorry. This issue was meant for the docker repository. I'm not sure how I ended up on your repo.
As a Docker newby I just wrote a
Dockerfile
like this:Building this Docker image fails like this (
test.txt
exists):I figured out that the error is the missing
/
on the destination of theCOPY
instruction.One problem here is that the error message could be more clear (i.e. it doesn't state that
/myvol
is not a directory but a file and thus the mount fails).But the bigger problem here that this error is reported for step 4 (
WORKDIR
) and not for step 2 or 3. I think this should be improved.