- 2010 or newer Mac
- OS X 10.10.3 or later
- Uninstall VirtualBox if you have version 4.3.30 or earlier
Download and install Docker for Mac
You'll probably want to give the Docker VM additional resources. Click on the toolbar icon and set the number of CPUs and memory to a number you're comfortable with (I use 3 CPUs and 8 GB memory).
Sometimes you want containers that contain persistent data. For these, you will use a data volume. We're going to set one up for storing mysql databases.
docker volume create --name mysqldata