Comments (2)
The advice to use docker-ci-zap.exe
is correct. It is only "dangerous" in that it will delete anything that you point it at. If you use docker-ci-zap.exe C:\programdata\Docker
it will delete the remaining Docker images and nothing else, and is safe to use. If you point it at C:\
, well, it's no different than the age old rm -rf /
on Linux, and would delete all files on your C drive, hence the label "dangerous".
The files cannot be deleted as they are owned by TrustedInstaller
, which is used to protect critical files such as Windows installations, and is the same reason you cannot delete files in C:\Windows\System32\
. Docker images on Windows are similar to a Windows install, hence why they are protected by TrustedInstaller. You should be able to take control of the files an delete them without use of docker-ci-zap.exe
using methods such as this one. docker-ci-zap.exe
is more of a convenience tool to get the correct permissions to delete the files than anything special.
Visual Studio Feedback tool is unrelated to, and does not use this project, though might also use TrustedInstaller.
from hcsshim.
Thanks, for that info. "Dangerous" was someone else's moniker, I was more annoyed with having to use it than worried about side effect.
I guess my problem then is with Docker setting the TrustedInstaller as the owner of the files. Its a service, and those images/files are only critical to it, not the OS that hosts the service. I'll file an issue over there if there isn't one specifically for this.
I found that after a reboot, I could take ownership of some more (but not all) files and delete them. Three more cycles of that and the folder is now gone.
from hcsshim.
Related Issues (20)
- Error in launching Windows container with GPU device in Hyper-v isolation HOT 1
- Feature request: ConPTY subpackage
- GitHub is showing deprecated v0.10.0 as "Latest release" HOT 1
- Where is the HNS/HCS Endpoint default DNS config? HOT 5
- containerd-shim-runhcs-v1 can't parse runtimeoptions.v1.Options
- windows server 2022: create HNSEndpoint error:The provided policy configuration is invalid or missing parameters.
- Update open-policy-agent dependency HOT 1
- "failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem xxxxxxx--cid--xxxxxxxx : Access is denied.: unknown"
- questions w.r.t. "osversion" package HOT 2
- choco install magicsplat-tcl-tk fails with hcsshim::ImportLayer failed in Win32 HOT 1
- hcsshim::PrepareLayer failed in Win32: The system cannot find the path specified. (0x3) on Docker Desktop 4.28.0 (139021) HOT 1
- ORMergeHives - public documentation?
- Cannot create New-BCContainer: hcsshim::ExpandScratchSize failed in Win32: The system cannot find the file specified. "c:\bcartifacts.cache:c:\dl"
- Process running within Docker Container throws OOM error but container doesn't report the error when exited HOT 1
- v0.12.1 hash was changed? HOT 6
- [Feature Request] Provide details when throwing errors
- hcnDeleteNamespace failed in Win32: The specified request is unsupported (0x803b0015) HOT 2
- runhcs returns unknown shim failure, exit code 2
- Dependency on go-cose version that does not exist. HOT 1
- Confine containerd dependency to specific binaries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hcsshim.