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 \
Set up the shell environment:
eval $(docker-machine env parallels)
Then use the cli as normal:
docker-compose up -d
To get the vm IP address:
docker-machine ip parallels