Skip to content

Instantly share code, notes, and snippets.

@jbrinley
Created August 20, 2016 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbrinley/ef8ad49ac74d21738976b19844ff1d20 to your computer and use it in GitHub Desktop.
Save jbrinley/ef8ad49ac74d21738976b19844ff1d20 to your computer and use it in GitHub Desktop.
Install Docker for Mac

Mac

Prerequisites

  • 2010 or newer Mac
  • OS X 10.10.3 or later
  • Uninstall VirtualBox if you have version 4.3.30 or earlier

Install Docker for Mac

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).

Create data volume containers

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment