docker-ci-zap icon indicating copy to clipboard operation
docker-ci-zap copied to clipboard

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

Open ganesh-deshmukh opened this issue 6 years ago • 1 comments

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

ganesh-deshmukh avatar Jul 04 '18 06:07 ganesh-deshmukh

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

brcaswell avatar Mar 02 '20 23:03 brcaswell