Install Docker on Mac


Docker is a full development platform for creating containerized apps, and Docker for Mac is the best way to get started with Docker on a Mac. Docker for Mac requires OS X El Capitan 10.11 or newer macOS release running on a 2010 or newer Mac, with Intel’s hardware support for MMU virtualization. The app will run on 10.10.3 Yosemite, but with limited support.

Installing the CLI

Requirements

  • Mac must be a 2010 or newer model, with Intel’s hardware support for memory management unit (MMU) virtualization; i.e., Extended Page Tables (EPT) macOS 10.10.3 Yosemite or newer
  • At least 4GB of RAM
  • VirtualBox prior to version 4.3.30 must NOT be installed (it is incompatible with Docker for Mac). Docker for Mac will error out on install in this case. Uninstall the older version of VirtualBox and re-try the install.

Install

  1. Download the installer here and run.
  2. Double-click Docker.dmg to open the installer, then drag Moby the whale to the Applications folder.

Docker on Mac

When the installation finishes, Docker starts automatically.

The whale in the status bar indicates that Docker is running, and accessible from a terminal.


Installing the GUI

Installing

  1. Download the toolbox here.
  2. Install Docker Toolbox.
  3. Restart your Mac.

Reference:

https://docs.docker.com/engine/installation/mac/