Docker Community Forums

Share and learn in the Docker community.

Failing hello-world

(Jdstraye) #1

At my wit’s end. I am just following the first page of the documentation at Install seems to be okay until I run the hello-world application:

  PS C:\Users\\%user%> docker run hello-world
  Unable to find image 'hello-world:latest' locally
  latest: Pulling from library/hello-world
  bce2fbc256ea: Pull complete
  83eec61707e8: Pull complete
  eaac79658f14: Pull complete
  09da50837088: Pull complete
  Digest: sha256:f5233545e43561214ca4891fd1157e1c3c563316ed8e237750d59bde73361e77
  Status: Downloaded newer image for hello-world:latestC:\Program 
   Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: failed to create endpoint affectionate_jackson on network nat: HNS failed with error : The file cannot be opened because it is in the process of being deleted.

I have seen this issue (cannot open file because it is being deleted) reported on GitHub, StackOverflow, and Microsoft, but I have not found a solution on those sites or other research based on those sites. As best I can tell so far, this may be a Hyper-V delay issue, and all that can be done is to wait. That’s a pretty poor solution, though.

More information, including the GitHub, StackOverflow, and Microsoft links, can be found at this GitHub issue.

(Jdstraye) #2

I found a workaround for now:

> docker run --net none hello-world