Docker Community Forums

Share and learn in the Docker community.

Windows DefenderReal-time protection cripples server while Docker is running


(Kira Resari) #1

Hello everyone,

I have the following problem which is somehow impeding on the progress I make while working with Docker for Windows.

Whenever I have Docker running and several containers up, the server gets very slow to the point of responsiveness, with the Antimalware Service Executable from the Windows Defender Service taking up almost all available resources.

I have already tried excluding the following folders and executables from Windows Defender in the Windows Settings (Settings > Updates & Security > Windows Defender > Add an Exclusion):

  • [My docker working directory with all the Dockerfiles, docker-compose.yml, etc.)]
  • C:\ProgramFiles\Docker
  • C:\ProgramData\Docker
  • C:\ProgramData\DockerDesktop
  • Docker for Windows.exe
  • DockerWatchguard.exe
  • dockerd.exe

However, Windows Defender still continues to claim enormous amounts of resources as long as the Real-time protection option is enabled.

Is there anything I can do about this short of disabling Windows Defender Real-time protection?

Any advice or insight would be greatly appreciated.

Thanks in advance,
Cheers!
Kira
=^,^=