From 03e5fae7150bf524bd79486a0f758cc9e8a896ff Mon Sep 17 00:00:00 2001 From: Cong Date: Sat, 24 Jun 2017 10:14:51 +0900 Subject: [PATCH] Correct command to copy binary (#3367) * Correct command to copy binary Correct path to copy binary-daemon. Remove command to copy binary-client (it's not available). * Use the make install target Signed-off-by: Misty Stanley-Jones --- opensource/project/set-up-dev-env.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opensource/project/set-up-dev-env.md b/opensource/project/set-up-dev-env.md index 6f7fd214c4..06358e7d1b 100644 --- a/opensource/project/set-up-dev-env.md +++ b/opensource/project/set-up-dev-env.md @@ -46,7 +46,7 @@ To remove unnecessary artifacts: As of Docker Engine version 1.13 you can now use the `docker system prune` command to achieve this: - ```none + ```none $ docker system prune -a ``` @@ -161,11 +161,11 @@ can take over 15 minutes to complete. Copying nested executables into bundles/1.12.0-dev/binary ``` -7. Copy the binary to the container's **/usr/bin/** directory. +7. Run `make install`, which copies the binary to the container's + `/usr/local/bin/` directory. ```none - root@a8b2885ab900:/go/src/github.com/moby/moby# cp bundles/1.12.0-dev/binary-client/docker* /usr/bin/ - root@a8b2885ab900:/go/src/github.com/moby/moby# cp bundles/1.12.0-dev/binary-daemon/docker* /usr/bin/ + root@a8b2885ab900:/go/src/github.com/moby/moby# make install ``` 8. Start the Engine daemon running in the background. @@ -243,7 +243,7 @@ you have: your development container Running the `make BIND_DIR=. shell` command mounted your local Docker repository source into -your Docker container. +your Docker container. > **Note**: Inspecting the `Dockerfile` shows a `COPY . /go/src/github.com/docker/docker` instruction, suggesting that dynamic code changes will _not_ be reflected in the container. However inspecting the `Makefile` shows that the current working directory _will_ be mounted via a `-v` volume mount.