docker / for-linux

Docker Engine for Linux
https://docs.docker.com/engine/installation/
753 stars 85 forks source link

I am having the same error: Kindly help me! #704

Open ZamzamMumin opened 5 years ago

ZamzamMumin commented 5 years ago

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

xakepp35 commented 5 years ago

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 :-)

bugz8unny69 commented 5 years ago

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

Cheers