How run Docker for Desktop on Windows 10 with Anti-virus installed
Docker for desktop depends on the machine's virtualization capabilities. In organizations, work machines are installed with anti virus software and this software do not allow to run the vmcompute.exe executable. This causes the Docker for Desktop to not to start the engine and run the daemon for container configuration. This security setup by your anti virus software is enforced as part of code flow guard. To override this default setting in the anti-virus software we need add an exception to ignore this setting. From windows 10, these restrictions are enforced as part of Windows Security Features. We can override this setting by following the below steps. (You can try these options after Hyper-V and WSL is properly setup on the machine for Windows Features)
1, Open "Windows Security"
2, Open "App & Browser control"
3, Click "Exploit protection settings" at the bottom
4, Switch to "Program settings" tab
5, Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
6, Click "Edit"
7, Scroll down to "Code flow guard (CFG)" and uncheck "Override system settings"
8, Start vmcompute from powershell "net start vmcompute"
That helps
ReplyDelete