Docker Community Forums

Share and learn in the Docker community.

Failed to register layer: re-exec error: exit status 1: output: Failed to openRelative


(Jimnaff) #1

I am performing this powershell command:

docker pull Microsoft/windowsservercore:latest

However, I see this error:

failed to register layer: re-exec error: exit status 1: output: Failed to openRelative failed in Win32: open \?\E:\Docker\windowsfilter\2cb5f8110c23b
2dbd0c7cf9d519e37ed153dbab4d73b16960171e38364b13d6d\Files: Access is denied. (0x1f) Files

Additional information:

  1. I have a daemon.json located in C:\ProgramData\docker\config\
  2. The contents of the file is:
    {
    “data-root”: “e:\docker”
    }

Any thoughts? Any help would be great…Thank you!

Blockquote


(Jimnaff) #2

Some more info:

I am able to run docker container run hello-world:nanoserver when the daemon.json file with the e:\docker reference is removed. But when I put the file back, I see the same "failed to register layer: re-exec error: exit status 1: output: Failed to openRelative " error.