ADD failed: stat /var/lib/docker/tmp/docker-builderXXXXXX: no such file or directory
I am having this 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.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked