1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Clarify Mac OS X experience.

Signed-off-by: Mary Anthony <moxieandmore@gmail.com>
This commit is contained in:
Mary Anthony 2014-12-13 14:18:46 -08:00
parent 8ca28a35c7
commit 228404860c

View file

@ -40,22 +40,24 @@ with the name of branch or revision number.
## Build the Environment ## Build the Environment
This following command will build a development environment using the This following command builds a development environment using the
Dockerfile in the current directory. Essentially, it will install all Dockerfile in the current directory. Essentially, it installs all
the build and runtime dependencies necessary to build and test Docker. the build and runtime dependencies necessary to build and test Docker.
This command will take some time to complete when you first execute it. Your first build will take some time to complete. On Linux systems:
$ sudo make build $ sudo make build
On Mac OS X, from within the `boot2docker` shell:
$ make build
> **Note**:
> On Mac OS X, **do not** build Docker make targets such as `build`, `binary`, and `test`
> under root (sudo).
If the build is successful, congratulations! You have produced a clean If the build is successful, congratulations! You have produced a clean
build of docker, neatly encapsulated in a standard build environment. build of docker, neatly encapsulated in a standard build environment.
> **Note**:
> On Mac OS X, make targets such as `build`, `binary`, and `test`
> must **not** be built under root. So, for example, instead of the above
> command, issue:
>
> $ make build
## Build the Docker Binary ## Build the Docker Binary