From 057d347eafaea9a0044b70e516ace504904a5ba4 Mon Sep 17 00:00:00 2001 From: Jonathan Pares Date: Wed, 9 Apr 2014 11:27:04 +0200 Subject: [PATCH] Update mac.rst to add homebrew instructions. Explain how to install boot2docker and docker by using homebrew. Docker-DCO-1.1-Signed-off-by: Jonathan Pares (github: jonathanpa) --- docs/sources/installation/mac.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/sources/installation/mac.rst b/docs/sources/installation/mac.rst index 9ce3961f7e..d5243625a7 100644 --- a/docs/sources/installation/mac.rst +++ b/docs/sources/installation/mac.rst @@ -41,6 +41,18 @@ that is used for the job. .. _GitHub page: https://github.com/boot2docker/boot2docker +With Homebrew +~~~~~~~~~~~~~ + +If you are using Homebrew on your machine, simply run the following command to install ``boot2docker``: + +.. code-block:: bash + + brew install boot2docker + +Manual installation +~~~~~~~~~~~~~~~~~~~ + Open up a new terminal window, if you have not already. Run the following commands to get boot2docker: @@ -61,6 +73,18 @@ Docker OS X Client The ``docker`` daemon is accessed using the ``docker`` client. +With Homebrew +~~~~~~~~~~~~~ + +Run the following command to install the ``docker`` client: + +.. code-block:: bash + + brew install docker + +Manual installation +~~~~~~~~~~~~~~~~~~~ + Run the following commands to get it downloaded and set up: .. code-block:: bash