Closed SodaXu closed 1 year ago
This is unrelated to the Docker image and rather related to Docker itself. Examples of other issues like this are https://github.com/moby/moby/issues/36218. I would recommend following up in the https://github.com/moby/moby repo. I've encountered this error myself and is usually resolved by one of the following:
Describe the Bug
Meet below error while trying to build our container image:
Error removing intermediate container 2339d72b003d: container 2339d72b003d45807b08c7720a1d43c805611995043d40d7437300084db07d87: driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename C:\ProgramData\Docker\windowsfilter\2339d72b003d45807b08c7720a1d43c805611995043d40d7437300084db07d87 C:\ProgramData\Docker\windowsfilter\2339d72b003d45807b08c7720a1d43c805611995043d40d7437300084db07d87-removing: Access is denied. container 2339d72b003d45807b08c7720a1d43c805611995043d40d7437300084db07d87 encountered an error during hcsshim::System::Start: context deadline exceeded
[error]The process 'C:\Program Files\Docker\docker.exe' failed with exit code 1
Finishing: š Docker: Build
the base image we're using: Step 1/22 : FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2022 4.8-windowsservercore-ltsc2022: Pulling from dotnet/framework/aspnet Digest: sha256:45633555c20a487ddaf15ff3834acbaae814239e297d52f022bb710221b44f5b Status: Image is up to date for mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2022 ---> e249163806e6
Steps to Reproduce
docker build container image inside a container.
Other Information
this issue happened after May 9th, while the base image in MCR has been updated.
Output of
docker version
Output of
docker info