Description of the issue
Running docker-compose is extremely slow. Even simple tasks like
docker-compose --version are taking more than 10 minutes. Looking into the Activity Monitor on my Macbook i can clearly see that the process
kav is immediately taking over all the CPU of my machine. This is an anti-virus (Kaspersky) process.
So the question is:
Why is a simple command like checking the version number such an issue?
I also followed the advice given in the docker documentation to add the docker data directory to Kaspersky’s exclusion list.
While this appears to improve the time of
docker-compose up, its still taking a long time.
Running all the commands for this bug report took around 50 minutes.
Context information (for bug reports)
docker-compose version 1.26.2, build eefe0d31
Docker version 19.03.12, build 48a66213fe
Steps to reproduce the issue
- Install Kaspersky Endpoint Security and Docker Compose
Very long execution time. (> 10 minutes)
Very short execution time. E.g. like for
docker --version (< 1 second).
OS version / distribution: macOS Mojave (10.14.6)
docker-compose install method: Docker Desktop for Mac