Skip to content

Commit 03e5fae

Browse files
Congjohndmulhausen
authored andcommitted
Correct command to copy binary (docker#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 <misty@docker.com>
1 parent bfda12f commit 03e5fae

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

opensource/project/set-up-dev-env.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To remove unnecessary artifacts:
4646

4747
As of Docker Engine version 1.13 you can now use the `docker system prune` command to achieve this:
4848

49-
```none
49+
```none
5050
$ docker system prune -a
5151
```
5252

@@ -161,11 +161,11 @@ can take over 15 minutes to complete.
161161
Copying nested executables into bundles/1.12.0-dev/binary
162162
```
163163

164-
7. Copy the binary to the container's **/usr/bin/** directory.
164+
7. Run `make install`, which copies the binary to the container's
165+
`/usr/local/bin/` directory.
165166

166167
```none
167-
root@a8b2885ab900:/go/src/github.com/moby/moby# cp bundles/1.12.0-dev/binary-client/docker* /usr/bin/
168-
root@a8b2885ab900:/go/src/github.com/moby/moby# cp bundles/1.12.0-dev/binary-daemon/docker* /usr/bin/
168+
root@a8b2885ab900:/go/src/github.com/moby/moby# make install
169169
```
170170

171171
8. Start the Engine daemon running in the background.
@@ -243,7 +243,7 @@ you have:
243243
your development container
244244
245245
Running the `make BIND_DIR=. shell` command mounted your local Docker repository source into
246-
your Docker container.
246+
your Docker container.
247247
248248
> **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.
249249

0 commit comments

Comments
 (0)