From ee8f6783b630750e0ffeebbd5416bb2f3afbead5 Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Fri, 13 Oct 2017 14:44:17 -0700 Subject: [PATCH] You need to stop Docker before copying important files (#4948) --- opensource/project/set-up-dev-env.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/opensource/project/set-up-dev-env.md b/opensource/project/set-up-dev-env.md index 0ac5be409b..e366df38e5 100644 --- a/opensource/project/set-up-dev-env.md +++ b/opensource/project/set-up-dev-env.md @@ -290,14 +290,18 @@ example, you'll edit the help for the `attach` subcommand. 7. Rebuild the binary by using the command `hack/make.sh binary` in the docker development container shell. -8. Copy the binaries to **/usr/bin** by entering the following commands in the docker development container shell (or use the `hack/make.sh binary install-binary run` command described above). +8. Stop Docker if it is running. + +9. Copy the binaries to **/usr/bin** by entering the following commands in the docker development container shell (or use the `hack/make.sh binary install-binary run` command described above). ``` cp bundles/1.12.0-dev/binary-client/docker* /usr/bin/ cp bundles/1.12.0-dev/binary-daemon/docker* /usr/bin/ ``` -9. To view your change, run the `docker attach --help` command in the docker development container shell. +10. Start Docker. + +11. To view your change, run the `docker attach --help` command in the docker development container shell. ```bash root@b0cb4f22715d:/go/src/github.com/moby/moby# docker attach --help