mirror of https://github.com/docker/docs.git
169 lines
8.0 KiB
Markdown
169 lines
8.0 KiB
Markdown
---
|
|
description: How to install Docker for Mac
|
|
keywords: mac, beta, alpha, install, download
|
|
title: Install Docker for Mac
|
|
---
|
|
|
|
The Docker for Mac install package includes everything you need to run Docker on
|
|
a Mac. This topic describes pre-install considerations, and how to download and
|
|
install Docker for Mac.
|
|
|
|
> **Already have Docker for Mac?** If you already have
|
|
Docker for Mac installed, and are ready to get started, skip to
|
|
[Get started with Docker for Mac](index.md) for a quick tour of
|
|
the command line, preferences, and tools.
|
|
>
|
|
>**Looking for Release Notes?** [Get release notes for all versions here](release-notes.md).
|
|
|
|
## Download Docker for Mac
|
|
|
|
If you have not already done so, please install Docker for Mac. You can download
|
|
installers from the Stable or beta channel. For more about Stable and Edge
|
|
channels, see the [FAQs](/docker-for-mac/faqs.md#stable-and-edge-channels).
|
|
|
|
<table style="width:100%">
|
|
<tr>
|
|
<th style="font-size: x-large; font-family: arial">Stable channel</th>
|
|
<th style="font-size: x-large; font-family: arial">Edge channel</th>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="50%">This installer is fully baked and tested, and comes
|
|
with the latest GA version of Docker Engine along with <a
|
|
href="https://github.com/docker/docker/blob/master/experimental/README.md"> experimental features in Docker Engine</a>, which are enabled by
|
|
default and configurable on <a href="index#daemon-experimental-mode">Docker Daemon preferences for experimental mode</a>. <br><br>This is the
|
|
best channel to use if you want a reliable platform to work with.
|
|
(Be sure to disable experimental features for apps in production.) <br><br>These releases follow a version schedule with a longer lead
|
|
time than the Edge releases, synched with Docker Engine releases and
|
|
hotfixes.<br><br>On the Stable channel, you can select whether to send usage
|
|
statistics and other data.
|
|
</td>
|
|
<td width="50%">This installer provides the latest Edge release of
|
|
Docker for Mac, offers cutting edge features along with
|
|
<a href="https://github.com/docker/docker/blob/master/experimental/README.md"> experimental features in Docker Engine</a>, which are enabled by
|
|
default and configurable on <a href="index#daemon-experimental-mode">Docker Daemon preferences for experimental mode</a>. <br><br>This is the
|
|
best channel to use if you want to experiment with features under development, and can weather some instability and bugs. This channel
|
|
is a continuation of the Edge program, where you can provide feedback
|
|
as the apps evolve. Releases are typically more frequent than for
|
|
Stable, often one or more per month. <br><br>We collect all usage
|
|
data on Edge releases across the board.</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="50%">
|
|
<a class="button outline-btn" href="https://download.docker.com/mac/stable/Docker.dmg">Get Docker for Mac (Stable)</a>
|
|
</td>
|
|
<td width="50%">
|
|
<a class="button outline-btn" href="https://download.docker.com/mac/edge/Docker.dmg">Get Docker for Mac (Edge)</a>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
>**Important Notes**:
|
|
>
|
|
> - 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. Please see
|
|
[What to know before you install](#what-to-know-before-you-install)
|
|
for a full explanation and list of prerequisites.
|
|
>
|
|
> - You can switch between Edge and Stable versions, but you must have only one
|
|
app installed at a time. Also, you will need to save images and export
|
|
containers you want to keep before uninstalling the current version before
|
|
installing another. For more about this, see the
|
|
[FAQs about Stable and Edge channels](faqs.md#stable-and-edge-channels).
|
|
|
|
## What to know before you install
|
|
|
|
* **README FIRST for Docker Toolbox and Docker Machine users**: If you are
|
|
already running Docker on your machine, first read
|
|
[Docker for Mac vs. Docker Toolbox](docker-toolbox.md) to understand the
|
|
impact of this installation on your existing setup, how to set your environment
|
|
for Docker for Mac, and how the two products can coexist.
|
|
<p />
|
|
* **Relationship to Docker Machine**: Installing Docker for Mac does not affect
|
|
machines you created with Docker Machine. You'll get the option to copy
|
|
containers and images from your local `default` machine (if one exists) to the
|
|
new Docker for Mac [HyperKit](https://github.com/docker/HyperKit/)" VM. When
|
|
you are running Docker for Mac, you do not need Docker Machine nodes running
|
|
at all locally (or anywhere else). With Docker for Mac, you have a new, native
|
|
virtualization system running (HyperKit) which takes the place of the
|
|
VirtualBox system. To learn more, see
|
|
[Docker for Mac vs. Docker Toolbox](docker-toolbox.md).
|
|
<p />
|
|
* **System Requirements**: Docker for Mac will launch only if all of these
|
|
requirements are met.
|
|
<p />
|
|
- 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) and
|
|
Unrestricted Mode.
|
|
<p />
|
|
- OS X El Capitan 10.11 and newer macOS releases are supported. At a minimum,
|
|
Docker for Mac requires macOS Yosemite 10.10.3 or newer, with the caveat
|
|
that going forward 10.10.x is a use-at-your-own risk proposition.
|
|
<p />
|
|
- Starting with Docker for Mac Stable release 1.13 (upcoming), and concurrent
|
|
Edge releases, we will no longer address issues specific to OS X Yosemite
|
|
10.10. In future releases, Docker for Mac could stop working on OS X Yosemite
|
|
10.10 due to the deprecated status of this OS X version. We recommend
|
|
upgrading to the latest version of macOS.
|
|
<p />
|
|
- At least 4GB of RAM
|
|
<p />
|
|
- VirtualBox prior to version 4.3.30 must NOT be installed (it is incompatible
|
|
with Docker for Mac)
|
|
|
|
> **Note**: If your system does not satisfy these requirements, you can
|
|
> install [Docker Toolbox](/toolbox/overview.md), which uses Oracle VirtualBox
|
|
> instead of HyperKit.
|
|
|
|
* **What the install includes**: The installation provides
|
|
[Docker Engine](/engine/userguide/intro/), Docker CLI client,
|
|
[Docker Compose](/compose/overview/), and [Docker Machine](/machine/overview/).
|
|
|
|
## Install and Run Docker for Mac
|
|
|
|
1. Double-click `Docker.dmg` to open the installer, then drag Moby the whale to
|
|
the Applications folder.
|
|
|
|

|
|
|
|
2. Double-click `Docker.app` to start Docker.
|
|
|
|

|
|
|
|
You will be asked to authorize `Docker.app` with your system password after you launch it.
|
|
Privileged access is needed to install networking components and links to the Docker apps.
|
|
|
|
The whale in the top status bar indicates that Docker is running, and accessible from a terminal.
|
|
|
|

|
|
|
|
If you just installed the app, you also get a success message with suggested
|
|
next steps and a link to this documentation. Click the whale ()
|
|
in the status bar to dismiss this popup.
|
|
|
|

|
|
|
|
3. Click the whale () to get Preferences and
|
|
other options.
|
|
|
|

|
|
|
|
4. Select **About Docker** to verify that you have the latest version.
|
|
|
|
Congratulations! You are up and running with Docker for Mac.
|
|
|
|
## Where to go next
|
|
|
|
* [Getting started](index.md) provides an overview of Docker for Mac,
|
|
basic Docker command examples, how to get help or give feedback, and
|
|
links to all topics in the Docker for Mac guide.
|
|
|
|
* [Troubleshooting](troubleshoot.md) describes common problems,
|
|
workarounds, how to run and submit diagnostics, and submit issues.
|
|
|
|
* [FAQs](faqs.md) provides answers to frequently asked questions.
|
|
|
|
* [Release Notes](release-notes.md) lists component updates, new features, and improvements associated with Stable and Edge releases.
|
|
|
|
* [Learn Docker](/learn.md) provides general Docker tutorials.
|