Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous error: The process cannot access the file because it is being used by another process #3

Open
mrichman opened this issue Aug 14, 2017 · 3 comments

Comments

@mrichman
Copy link

I do not have dockerd running.

PS C:\ProgramData\docker> C:\Users\mrichman\Downloads\docker-ci-zap.exe -folder "C:\ProgramData\docker"

time="2017-08-14T12:41:42-04:00" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=docker flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=docker flavour=0
@frankfuu
Copy link

You might have to exit all your windows, folders, consoles, etc.

@Corbeau3000
Copy link

I had to stop the Docker service to be able to clean-up my folder

@brcaswell
Copy link

brcaswell commented Mar 2, 2020

I heard (and it makes sense) that you can switch to the Linux containers, run the tool, than switch back to Windows Containers.

It also may help in some cleanup cycling fashion.

EDIT:

I use Docker Desktop in the following manner to do that:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants