Running “docker pull microsoft/nanoserver” fails on my windows machine with the following error:
Using default tag: latest
latest: Pulling from microsoft/nanoserver
bce2fbc256ea: Extracting [==================================================>] 252.7 MB/252.7 MB
58f68fa0ceda: Download complete
failed to register layer: re-exec error: exit status 1: output: ProcessUtilityVMImage C:\ProgramData\Docker\windowsfilter\6a8379d19c50c4ce4a8283a61c5a8e4bc85a57d6def85a9b8e5abeabea40d47b\U
tilityVM: The process cannot access the file because it is being used by another process.
Expected Behavior
docker pull should work and image should download and extract cleanly.
Related Information
I have ‘Docker for windows’ installed on windows 10 Pro 64 bit.
I am currently running this in windows containers mode.
*Here is the output of docker version:
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Tue Mar 28 00:40:02 2017
OS/Arch: windows/amd64
Server:
Version: 17.03.1-ce
API version: 1.27 (minimum version 1.24)
Go version: go1.7.5
Git commit: c6d412e
Built: Tue Mar 28 00:40:02 2017
OS/Arch: windows/amd64
Experimental: true
What I have already tried
Based on the other online posts on this error, I have done the following but the issue still exists:
Tried running it multiple times with nanoserver image.
Tried using another another image (still in windows containers) windowsservercore.
Added folder exclusion in SEP (Symantec Endpoint Protection) and rebooted my laptop.
Disabled SEP and rebooted my laptop.
I cannot uninstall SEP from my laptop per corporate policy.
I am not sure if this has been officially fixed in any of the new releases of windows or docker.
Steps to Reproduce
Install Docker for windows.
Switch to windows containers
Run ‘docker pull microsoft/nanoserver’
Well, I am getting the same error. I tried a number of ways. The same thing works when I switch to Linux container, but does not work if I switch to Windows Container. In case of Linux container the Symantec protection was on on. I first had stable version. I got the same behavior with slightly different error message. Then, I switched to Docker CE edge latest version. I have latest windows 10 Enterprise with latest updates on my computer.
I tried pulling microsoft/dotnet and microsoft/windowsservercore and nanoserver with the same error.
docker pull microsoft/nanoserver
Error message after completing the downloads:
failed to register layer: re-exec error: exit status 1: output: ProcessUtilityVMImage C:\ProgramData\Docker\windowsfilte r\c075464e530a899ecaff3b747682a00e2cc24a91f932ecabb5ce67ff7c621aa1\UtilityVM: The process cannot access the file because
** it is being used by another process.**
I have Symentec Endpoint protection. However, I first put all the executable i added a number of exe files in windows/system32 folder. Then I disabled the Endpoint protection and stopped the related process in the task manager.
docker version:
Client:
Version: 17.11.0-ce
API version: 1.34
Go version: go1.8.4
Git commit: 1caf76c
Built: Mon Nov 20 18:30:11 2017
OS/Arch: windows/amd64
Server:
Version: 17.11.0-ce
API version: 1.34 (minimum version 1.24)
Go version: go1.8.5
Git commit: 1caf76c
Built: Mon Nov 20 18:34:19 2017
OS/Arch: windows/amd64
Experimental: true
PS C:\Users\drusia>