Reputation: 379
While trying to reinstall Docker for Windows, I am facing the following error -
The process cannot access the file 'C:\Program Files\Docker\Docker\resources\docker-for-win.iso' because it is being used by another process.
Is there any resolution to this issue?
Upvotes: 21
Views: 20797
Reputation: 1
The solution is
Task Manager > Services
, find the running docker processor, stop it and then reinstall the docker package.
Upvotes: 0
Reputation: 290
My way is:
Upvotes: 29
Reputation: 101
Running the executable with Admin privileges solved the problem for me.
Upvotes: 0
Reputation: 1
Guys I ran into same issue and I solved by disabling it from my task manager. For that open Task Manager(Ctrl+Shift+ESC) the go to services tab select open services find docker desktop service from it right click and select properties . change startup type to disable and press apply now u can delete docker folder from program files and reinstall docker .
Upvotes: 0
Reputation: 291
There could be a service running with display name "Docker Desktop Service". You need to stop it.
Upvotes: 2
Reputation: 1237
I had the same problem. Have tried a lot of things. Thing which really helped me was this:
Go to resource manager. CPU TAB. Associated handlers section. Search. Write docker. Find all files which holds your resource file and stop that process with right click.
Process which holds your docker file.
After start again installation... :)
My installation result
Upvotes: 8
Reputation: 741
Open Hyper-V Manager => select your system name => select DockerDesktop VM under Virtual Machines => then click on Remove Server => Then restart your system.
Your ready to setup docker.
Upvotes: 14