Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MacBook Pro 2018 High Temperature and CPU Usage with docker

Tags:

docker

macos

I am using Macbook Pro 2018 and I am not sure if this is normal, but i am noticing a very high cpu usage and temperatures.

By Default: It was using 6 cores & com.docker.hyperkit was using 150%+ cpu https://imgur.com/pg78MFc.

After reading little bit on google, I changed it to 1 Core and cpu usage went down to 60% but temperatures are still hot https://imgur.com/FYOv3iV.

Can anyone confirm this and any solution for this?

Without docker temperatures are around 50.

like image 307
Aaditya Pratap Singh Avatar asked Dec 16 '25 19:12

Aaditya Pratap Singh


1 Answers

Update: I Fixed it by reinstalling OSX in APFS instead of APFS Encrypted and added :cached on mounted volumes.

Issue is happening when i am watching files inside mounted volumes (like watching typescript files for compilation or watching webpack files) then CPU is spiking and temperature is going above 80c.

Before

volumes:
      - .:/app/

For fixing i added :cached

volumes:
      - .:/app/:cached
like image 179
Aaditya Pratap Singh Avatar answered Dec 19 '25 12:12

Aaditya Pratap Singh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!