docker-ci-zap
docker-ci-zap copied to clipboard
It gives issue as Access is denied though I opened cmd as Administrator.
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
hmm... the path should be using ProgramData
, not Program Files
.
ProgramData
is a hidden directory.
The files that are being zapped are specifically at C:\ProgramData\Docker\windowsfilter\
but you target the parent directory with this tool.