Docker Community Forums

Share and learn in the Docker community.

macOS high com.docker.hyperkit CPU usage when no containers running

I have a high CPU utilisation for Docker Desktop even when it should be idle - no containers running.

  • What could be the cause?

  • How to make sure Docker / Docker Desktop does not burn the battery even I am not using it (without shutting it down)?

This seems like an error. I would purge it from your system and reinstall it.

Which cpu architecture are you on btw? I have a lot higher cpu usage on my M1 Macbook than on my x86 Mac.

This seems like an error. I would purge it from your system and reinstall it.

This does not help to identify the cause of the problem or get it fixed.

Which cpu architecture are you on btw? I have a lot higher cpu usage on my M1 Macbook than on my x86 Mac.

This is Intel 2018 Macbook Pro.

Looks like I found a option to lower the CPU usage with the Use the new Virtualization framework in the Experimental settings. However, Docker Desktop is still constantly using a large share of CPU (now 25%) even if nothing is running. This time the load is just on Apple’s own process.

I would post screenshots, but this forum does not allow.

For the reference

docker system prune --volumes

Did not help. Zero running containers, or any containers, and Docker is still using CPU on idle.

docker events does not show any events, so nothing should be going on.

Docker still taking CPU even with idling in zero CPU. However, now the CPU usage is down to single digits.

Things I changed

  • Make sure debug: false in Docker Engine config

  • Do not use New Virtualisation framework

  • Prune all existing containers, volumes, etc.

  • In file sharing I removed all other paths but not /Users (not sure if this is going to break docker-compose)

  • Turn off Use gRPC FUSE for file sharing

  • Turn off Send usage statistics

I still do not know what causes the CPU usage.