You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to reproduce this issue reliably - it seems to get into this state randomly.
Describe the results you received:
When pulling a Docker container, sometimes we are unable to extract the image. Once the error occurs, the system is unrecoverable and we need to trash the instance. The error that we receive is:
failed to register layer: re-exec error: exit status 1: output: time="2018-01-11T18:16:04Z" level=error msg="hcsshim::Im portLayer failed in Win32: Access is denied. (0x5) layerId=\\\\?\\E:\\docker\\windowsfilter\\b6888696dee4442c3d5709709bd a7fd57192aca264e3f58ccd0fd87c1e5d228b flavour=1 folder=C:\\Users\\myhandle\\AppData\\Local\\Temp\\hcs873555083" hcsshim::ImportLayer failed in Win32: Access is denied. (0x5) layerId=\\?\E:\docker\windowsfilter\b6888696dee4442c3d5709 709bda7fd57192aca264e3f58ccd0fd87c1e5d228b flavour=1 folder=C:\Users\myhandle\AppData\Local\Temp\hcs873555083
Describe the results you expected:
Expect the container image to be reliably pulled and extracted
Additional information you deem important (e.g. issue happens only occasionally):
Issue only happens occasionally and we're unable to track down additional information when debugging. Running dockerd -D doesn't produce any other additional output than the above.
We've seen this happen for both the micrososft/windowsservercore image and other images built off of it. What is weird is that we've seen this issue with the RTM version Docker version 1.12.2-cs2-ws-beta, build 050b611 and the latest: Docker version 17.06.2-ee-6, build e75fdb8
Hey @darrenstahlmsft I think we can kind of reproduce this. When I run something that purposefully crashes our server, it reboots and then we run into the error where we can't extract images.
The code that I'm running to forcibly reproduce this is:
(0..30) | % { docker run -d microsoft/windowsservercore:latest powershell "$a = (0..60); while ($true) { $a += $a }"
Afterwards when the instance comes back up, we seem to run into the "Access is denied issue" while extract layers. Granted forcibly causing the machine to crash isn't ideal, but it's the best way I've been able to try and reproduce this issue.
We are running an AV software and we don't have that folder whitelisted, however, we aren't seeing anything come up in the logs where it's flagging that folder, process, or related files.
Description
Steps to reproduce the issue:
Describe the results you received:
When pulling a Docker container, sometimes we are unable to extract the image. Once the error occurs, the system is unrecoverable and we need to trash the instance. The error that we receive is:
Describe the results you expected:
Expect the container image to be reliably pulled and extracted
Additional information you deem important (e.g. issue happens only occasionally):
Issue only happens occasionally and we're unable to track down additional information when debugging. Running
dockerd -D
doesn't produce any other additional output than the above.We've seen this happen for both the
micrososft/windowsservercore
image and other images built off of it. What is weird is that we've seen this issue with the RTM versionDocker version 1.12.2-cs2-ws-beta, build 050b611
and the latest:Docker version 17.06.2-ee-6, build e75fdb8
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
AWS, 2016 with Containers with latest Windows updates
Sample Dockerfile as follows
The text was updated successfully, but these errors were encountered: