Skip to content

Instantly share code, notes, and snippets.

@bunsyy
Created March 5, 2024 13:59
Show Gist options
  • Save bunsyy/33eec9fabb8310c163ce18ab950b068c to your computer and use it in GitHub Desktop.
Save bunsyy/33eec9fabb8310c163ce18ab950b068c to your computer and use it in GitHub Desktop.
Docker Configuration for Mac Users

Problem

By default, Docker uses maximum CPU limit, Memory Limit, and Swap of your Mac. This leads to high CPU consumption and causes heat inside your mac. To address this, we can change the setting of the resources:

  • CPU Limit: 4
  • Memory Limit: 4GB
  • Swap: 1GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment