com.docker.hyperkit takes 40%-50% CPU to do absolutely nothing at all
- [X] I have tried with the latest version of my channel (Stable or Edge)
- [X] I have uploaded Diagnostics
- Diagnostics ID: 036983B4-5CCD-4822-B733-C8C05E9D6BCD/20190130101448
Expected behavior
Docker should take little CPU when no containers are running and Kubernetes is not enabled
Actual behavior
com.docker.hyperkit takes 40%-50% CPU to do absolutely nothing at all
Information
Docker Desktop Version 2.0.0.2 (30215) Channel: stable 0b030e17ca Engine: 18.09.1 Compose: 1.23.2 Machine: 0.16.1 Notary: 0.6.1 Credential Helper: 0.6.0 Kubernetes: v1.10.11
This is reproducible. It works every time.
+1
+1
It's not quite that bad for me, but it's taking about 6% to 10% CPU all the time, no containers running.
You don't notice that when running on AC power, but it drains battery pretty fast. Docker is constantly the no 1 on the Energy tab in Activity monitor.
Docker Desktop 2.0.0.3 (31259) Channel: stable 8858db33c8
No containers running:
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
It's even running 65-70% of CPU on my mac.
Opening the hidden hyperkit VM does not reveal that much either. I've tried:
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
export COLUMNS=200 ROWS=80
pstree
top # P for sorting by CPU
tail -f /var/log/*.log
(the screen can be closed with ctrl + a \)
When there are incomplete containers, kubelet does appear to be very occupied by this (running docker system prune -f fixed that). Yet my CPU usage remains at 65-70%
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
/lifecycle frozen
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked