From 1c05ddd645c50102321274ec7595c8b62dd71335 Mon Sep 17 00:00:00 2001 From: Glyn Normington Date: Mon, 9 Jun 2014 14:43:26 +0100 Subject: [PATCH] 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 (github: glyn) --- docs/sources/contributing/devenvironment.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/sources/contributing/devenvironment.md b/docs/sources/contributing/devenvironment.md index 24e250dbb0..54b867cf40 100644 --- a/docs/sources/contributing/devenvironment.md +++ b/docs/sources/contributing/devenvironment.md @@ -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: