I tried to create a directory junction on Docker Windows to create 8.3 . But it failed with the error message below.
D:\\data\\docker\\sample>docker build
I'm guessing your issue is actually not related to creating a directory junction (note that your build did complete that step), but is related to exceeding the base size of docker containers (I see you're pulling from windowsservercore, which is about 10GB, and web browsing tells me the default container base size is 10GB).
Try changing the size to 20GB in the docker daemon config by adding this json:
"storage-opts": [
"size=20G"
]
I was experiencing the same error message, tried all manner of troubleshooting, and resolved it with that daemon setting.
For Docker Enterprise this can be configured here C:\ProgramData\docker\config\daemon.json
"storage-opts":["size=20G"]
If this file does not exist created it
Link here
I was not able to resolve this with other methods; what worked for me was deleting and re-pulling the base image. So, it is apparently possible to get this error from a corrupt image.
It seems that junctions and and hardlinks are not supported by docker for windows.
I had similar problem trying to create a container with Cygwin inside. Cygwing uses hardlinks a lot. It all went wwll until Docker tried to commit an image and it failed with "hcsshim::ImportLayer - cannot find the path" error. When I got rid of the hardlinks in the container I was able to commit the image without problems.
check if the project is Running or not ! if it is running finish it. then check the command again