microsoft / hcsshim

Windows - Host Compute Service Shim
MIT License
577 stars 259 forks source link

dockerd.exe stuck looping over Files\$Recycle.Bin #748

Open mback2k opened 4 years ago

mback2k commented 4 years ago

I am currently experiencing the following endless loop with dockerd.exe over C:\ProgramData\Docker\tmp\hcs221337602\Files\$Recycle.Bin:

image

This is happening with the following Docker Desktop versions:

image

mback2k commented 4 years ago

It looks like the fix in https://github.com/microsoft/hcsshim/blob/e355f1cd68bed1168a87cdd5332e6ca2345f0401/internal/wclayer/legacy.go#L111-L118 is no longer sufficient or present in recent Docker versions. At least contents of $Recycle.Bin seem to longer be ignored during image layer creation.

jterry75 commented 4 years ago

@kevpar - PTAL