Docker for Mac is freaking slow, this is known issue for years. I'm switching to docker-machine running within Parallels for now... Image from unsplash.com Install the tools I use brew to quickly install these: brew install docker-machine brew install docker-machine-parallels Create the virtual machine The --driver param and vm name is required. The others are all optional, the default values are quite low so I bumped the specs a bit. docker-machine create --driver=parallels \ --parallels-cpu-count=2 \ --parallels-disk-size=100000 \ --parallels-memory=4096 \ parallels Usage Set up the shell environment: eval $(docker-machine env parallels) Then use the cli as normal: docker ls docker-compose up -d To get the vm IP address: docker-machine ip parallels
This is mostly a self note for the next time I'm doing a fresh install of my laptop. Which I do about once a year to catch up with the latest macOS version. I feel like a new install has better performance then an in place upgrade. System Preferences The first thing that I do on any laptop is to make sure tap to click is enabled 🤣 Also related to the trackpad, three finger drag is also needed... macOS has tons of Apple icons in the default Dock. I get rid of most of them and also make it a bit smaller, align left, disable magnification / minimizing / animation. Some what related to the animations, I often reduce motion / increase contrast these days. It feels easier on the eyes. While I'm still in there, I also disable autocorrect and most of Spotlight indeces. Applications App Store I usually pre-download the installation packages before installing to save time but there are a few apps that need to be downloaded from the store. Xcode is the most important one, and it is huge.