Docker Community Forums

Share and learn in the Docker community.

Recommended Macbook Pro models


#1

Looking for any recommendations for Macbook Pro models that we could use for local development that work well with Docker Desktop for Mac. Or advice about improving performance in a local container environment in general.

The development team I work with is interested in moving away from our cloud based development environment, and using containers locally instead. We are all using the following machine:

MacBook Pro (Retina, 13-inch, Early 2015)
Processor: 2.7 GHz Intel Core i5
Memory: 8 GB 1867 MHz DDR3

We have found that our containers are too slow on our local machines using Docker Desktop for Mac compared to our cloud environment (Kubernetes). Some tests run ~10x slower. In our tests with Docker Desktop for Mac, we have tried using the ‘delgated’ and ‘cached’ flags for mounted volumes, but this didn’t seem to help much. I’ve been testing with the latest edge release.

Aside from any advice about the best Macbook model, is there some other approach that is working well for local container development?

Setup:
2 containers that use a user-defined Docker network:
web application (apache, php)
websocket server (python)

Client: Docker Engine - Community
Version: 18.09.1
API version: 1.39
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:33:12 2019
OS/Arch: darwin/amd64
Experimental: false