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

It gives issue as Access is denied though I opened cmd as Administrator. #7

Open
ganesh-deshmukh opened this issue Jul 4, 2018 · 1 comment

Comments

@ganesh-deshmukh
Copy link

C:\Program Files>.\docker-ci-zap.exe -folder "C:\Program Files\Docker"
time="2018-07-04T11:38:09+05:30" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070005 err=Access is denied.id=Docker flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070005 err=Access is denied.id=Docker flavour=0

C:\Program Files>ls Docker
Docker

after i gave it relative path and it said Zapped Succesfully but still Docker directory was present.

C:\Program Files>ls Docker
Docker

C:\Program Files>.\docker-ci-zap.exe -folder Docker
INFO: Zapped successfully

@brcaswell
Copy link

brcaswell commented Mar 2, 2020

hmm... the path should be using ProgramData, not Program Files.

ProgramData is a hidden directory.

Screenshot of Hidden ProgramData Folder

The files that are being zapped are specifically at C:\ProgramData\Docker\windowsfilter\ but you target the parent directory with this tool.

Screenshot of sha256 layer of windows container

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

2 participants