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.
API version: 1.34
Go version: go1.8.4
Git commit: 1caf76c
Built: Mon Nov 20 18:30:11 2017
API version: 1.34 (minimum version 1.24)
Go version: go1.8.5
Git commit: 1caf76c
Built: Mon Nov 20 18:34:19 2017
Server Version: 17.11.0-ce
Storage Driver: windowsfilter
Logging Driver: json-file
Network: ics l2bridge l2tunnel nat null overlay transparent
Log: awslogs etwlogs fluentd json-file logentries splunk syslog
Default Isolation: hyperv
Kernel Version: 10.0 15063 (15063.0.amd64fre.rs2_release.170317-1834)
Operating System: Windows 10 Enterprise
Total Memory: 7.888GiB
Docker Root Dir: C:\ProgramData\Docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: -1
System Time: 2017-11-27T23:28:03.1524583-06:00
Live Restore Enabled: false
I hope it would help if someone is investigating the issue.