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

Do not build using sudo on Mac OS X

Building using sudo fails on Mac OS X, but is necessary on Linux.

See https://groups.google.com/d/topic/docker-dev/1EW_pfA1t9o/discussion for discussion.

Docker-DCO-1.1-Signed-off-by: Glyn Normington <gnormington@gopivotal.com> (github: glyn)
This commit is contained in:
Glyn Normington 2014-06-09 14:43:26 +01:00
parent 875d0b776d
commit 1c05ddd645

View file

@ -50,6 +50,13 @@ This command will take some time to complete when you first execute it.
If the build is successful, congratulations! You have produced a clean
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
To create the Docker binary, run this command: