for-linux icon indicating copy to clipboard operation
for-linux copied to clipboard

I am having the same error: Kindly help me!

Open ZamzamMumin opened this issue 7 years ago • 2 comments

I am having the same error: Kindly help me! PS C:\Users\zmumin\MyDockerImage> docker build --tag hello . Sending build context to Docker daemon 2.189MB Step 1/3 : FROM scratch ---> Step 2/3 : ADD hello / ADD failed: CreateFile \?\C:\ProgramData\Docker\tmp\docker-builder008000438\hello: The system cannot find the file specified. PS C:\Users\zmumin\MyDockerImage> docker --version Docker version 18.09.2, build 6247962 PS C:\Users\zmumin\MyDockerImage> docker version Client: Docker Engine - Community Version: 18.09.2 API version: 1.39 Go version: go1.10.8 Git commit: 6247962 Built: Sun Feb 10 04:12:31 2019 OS/Arch: windows/amd64 Experimental: false

Server: Docker Engine - Community Engine: Version: 18.09.2 API version: 1.39 (minimum version 1.24) Go version: go1.10.6 Git commit: 6247962 Built: Sun Feb 10 04:28:48 2019 OS/Arch: windows/amd64 Experimental: true I want to take the static binary named hello from my current directory and add it to the root directory of the image file. Trying to build the image by invoking the docker build command which would go through the Dockerfile’s contents and generate the image.

Originally posted by @ZamzamMumin in https://github.com/docker/for-linux/issues/90#issuecomment-504173740

ZamzamMumin avatar Jun 20 '19 22:06 ZamzamMumin

Press Windows+R, type "shutdown -r -t 0", plug in linux installation media, reformat hard drive to ext4, and we will continue.. Otherwise - please delete docker and navigate to C:\Games\ folder :-)

xakepp35 avatar Jun 22 '19 20:06 xakepp35

Technically speaking, you should post your issue here at https://github.com/docker/for-win, otherwise Linux issue are posted here

Cheers

bugz8unny69 avatar Jun 22 '19 21:06 bugz8unny69