Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Quick shout out for anyone starting with docker on mac OSX: I've found that these values are not ne

Options
U01JBB8LNTE
U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
edited January 2021 in Docker

Quick shout out for anyone starting with docker on mac OSX:

I've found that these values are not nearly enough

Set CPUs: to "4" or higher.
Set Memory: to "4.00 GB" or higher.
Set Swap: to "2.00 GB" or higher.

bumped everything up

Set CPUs: to "6" or higher.
Set Memory: to "8.00 GB" or higher.
Set Swap: to "4.00 GB" or higher.

and things are going quite a bit better, although if I jump on a screenshare with zoom or microsoft teams my mac goes into some kind of memory panic mode, it beeps and the screen goes black.

Or just use linux. 🤣

Comments

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options
  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    it is useful to note that I think some of this may be associated with multiple monitors as I had this happen on another mac... it was supposed to be addressed in Big Sur update

  • I'm running Docker on MacOS with 4 CPUs, 8GB of RAM, and 2GB swap for over 3 years now without any issues.
    I'm not using docker sync or mutagen for file synchronization though. Just the delegated flag on the volume mounts. Perhaps these synchronization tools add to the footprint.
    What helped extremely with speed on MacOS is leveraging the resolvable cache in Spryker. This reduces the file lookups by a great amount.

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    Nice thanks for the input @UK5EG6PBM I'll look into the resolvable cache... delegated flag huh?