I am trying to install docker on windows machine but it doesn't get install and stop its process in the middle of installation.I have checked for all prerequisite,and my machine fulfills all. I have NP AV antivirus and it gives me warning like C:\PROGRAM FILES\Docker\RES...\bin\DOCKER_COMPOSE.EXE is a threat after aborting the installation

- 24,501
- 8
- 71
- 136

- 39
- 5
-
What is your windows edition? You need to have Professional or Enterprise since just these versions support hyper-v – Ken Bekov Jan 17 '20 at 05:12
-
yes it is professional – Sonal Pachpute Jan 19 '20 at 06:00
-
@SonalPachpute Does my answer below help? – VonC Jan 24 '20 at 11:59
-
Is there anything missing in my answer? (since you just unvoted it) – VonC Oct 21 '20 at 08:52
1 Answers
It can depend on your Windows version (type winver in a CMD)
With 1903, there are reports of freeze or BSOD, with docker/for-win/issue 3815.
The main issue regarding the installation is docker/for-win/issue 1172,
This assumes that you have Windows Pro at least, with Hyper-V activated (and possibly the antivirus off during installation).
This thread includes:
Adding the downloaded installer
.exe
file to the Controlled Folder Access allowed apps list fixed the problem for me.
Start | Settings |
and click onControlled Folder Access
T hen click on “
Allow an app through Controlled folder access
”
Click on the big+
beside “Add an allowed app
” and chooseRecently Blocked Apps
.
Then you can choose the "Docker for Windows Installer.exe
".
Re-run the installer as admin and it works.