Kaynağa Gözat

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 <jonathanpa@users.noreply.github.com> (github: jonathanpa)
Jonathan Pares 11 yıl önce
ebeveyn
işleme
057d347eaf
1 değiştirilmiş dosya ile 24 ekleme ve 0 silme
  1. 24 0
      docs/sources/installation/mac.rst

+ 24 - 0
docs/sources/installation/mac.rst

@@ -41,6 +41,18 @@ that is used for the job.
 
 
 .. _GitHub page: https://github.com/boot2docker/boot2docker
 .. _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.
 Open up a new terminal window, if you have not already.
 
 
 Run the following commands to get boot2docker:
 Run the following commands to get boot2docker:
@@ -61,6 +73,18 @@ Docker OS X Client
 
 
 The ``docker`` daemon is accessed using the ``docker`` 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:
 Run the following commands to get it downloaded and set up:
 
 
 .. code-block:: bash
 .. code-block:: bash