Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Installation process can't complete due to file being in use elsewhere

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?

like image 379
Basileus Avatar asked Nov 25 '18 01:11

Basileus


People also ask

Why is Docker not working Windows 10?

Operating System. If you do not run a 64-bit version of Windows Windows 10 Pro, Enterprise, or Education; 1511 November update, Build 10586 or later, you cannot run Docker for Windows. You can install Docker Toolbox if you have a 64-bit version of Windows 7 or later. Alternately, you do have the option to upgrade.

Can I run Docker without admin rights?

While Docker Desktop on Windows can be run without having Administrator privileges, it does require them during installation. On installation the user gets a UAC prompt which allows a privileged helper service to be installed.

How do you resolve this error may indicate that the Docker daemon is not running?

Conclusion. The Docker daemon is a backend service of Docker that controls the Docker container. To resolve the Docker daemon is not running error, you first need to verify if the service of Docker Desktop is running or not. If the service is running then update the WSL package.


1 Answers

My way is:

  1. open Task Manager
  2. Select tab Details
  3. Click to the title of the table. Click mouse right to open context menu. Select select columns
  4. Select to show the command line column
  5. Search the process occupied that file
  6. Kill the process It's okay with me. enter image description here
like image 162
Nguyen Duc Tien Avatar answered Sep 28 '22 03:09

Nguyen Duc Tien