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

Update docs to reflect working directory name change.

Signed-off-by: Eric Soderstrom <ericsoderstrom@gmail.com>
This commit is contained in:
Eric Soderstrom 2017-11-26 13:12:16 -08:00
parent dfe2c023a3
commit f72ece0186

View file

@ -132,14 +132,14 @@ can take over 15 minutes to complete.
```none ```none
Successfully built 3d872560918e Successfully built 3d872560918e
docker run --rm -i --privileged -e BUILDFLAGS -e KEEPBUNDLE -e DOCKER_BUILD_GOGC -e DOCKER_BUILD_PKGS -e DOCKER_CLIENTONLY -e DOCKER_DEBUG -e DOCKER_EXPERIMENTAL -e DOCKER_GITCOMMIT -e DOCKER_GRAPHDRIVER=devicemapper -e DOCKER_INCREMENTAL_BINARY -e DOCKER_REMAP_ROOT -e DOCKER_STORAGE_OPTS -e DOCKER_USERLANDPROXY -e TESTDIRS -e TESTFLAGS -e TIMEOUT -v "home/ubuntu/repos/docker/bundles:/go/src/github.com/moby/moby/bundles" -t "docker-dev:dry-run-test" bash docker run --rm -i --privileged -e BUILDFLAGS -e KEEPBUNDLE -e DOCKER_BUILD_GOGC -e DOCKER_BUILD_PKGS -e DOCKER_CLIENTONLY -e DOCKER_DEBUG -e DOCKER_EXPERIMENTAL -e DOCKER_GITCOMMIT -e DOCKER_GRAPHDRIVER=devicemapper -e DOCKER_INCREMENTAL_BINARY -e DOCKER_REMAP_ROOT -e DOCKER_STORAGE_OPTS -e DOCKER_USERLANDPROXY -e TESTDIRS -e TESTFLAGS -e TIMEOUT -v "home/ubuntu/repos/docker/bundles:/go/src/github.com/moby/moby/bundles" -t "docker-dev:dry-run-test" bash
root@f31fa223770f:/go/src/github.com/moby/moby# root@f31fa223770f:/go/src/github.com/docker/docker#
``` ```
At this point, your prompt reflects the container's BASH shell. At this point, your prompt reflects the container's BASH shell.
5. List the contents of the current directory (`/go/src/github.com/moby/moby`). 5. List the contents of the current directory (`/go/src/github.com/moby/moby`).
You should see the image's source from the `/go/src/github.com/moby/moby` You should see the image's source from the `/go/src/github.com/docker/docker`
directory. directory.
![List example](images/list_example.png) ![List example](images/list_example.png)
@ -147,7 +147,7 @@ can take over 15 minutes to complete.
6. Make a `dockerd` binary. 6. Make a `dockerd` binary.
```none ```none
root@a8b2885ab900:/go/src/github.com/moby/moby# hack/make.sh binary root@a8b2885ab900:/go/src/github.com/docker/docker# hack/make.sh binary
Removing bundles/ Removing bundles/
---> Making bundle: binary (in bundles/binary) ---> Making bundle: binary (in bundles/binary)
@ -161,7 +161,7 @@ can take over 15 minutes to complete.
`/usr/local/bin/` directory. `/usr/local/bin/` directory.
```none ```none
root@a8b2885ab900:/go/src/github.com/moby/moby# make install root@a8b2885ab900:/go/src/github.com/docker/docker# make install
``` ```
8. Start the Engine daemon running in the background. 8. Start the Engine daemon running in the background.
@ -190,7 +190,7 @@ can take over 15 minutes to complete.
9. Inside your container, check your Docker version. 9. Inside your container, check your Docker version.
```none ```none
root@5f8630b873fe:/go/src/github.com/moby/moby# docker --version root@5f8630b873fe:/go/src/github.com/docker/docker# docker --version
Docker version 1.12.0-dev, build 6e728fb Docker version 1.12.0-dev, build 6e728fb
``` ```
@ -201,13 +201,13 @@ can take over 15 minutes to complete.
10. Run the `hello-world` image. 10. Run the `hello-world` image.
```none ```none
root@5f8630b873fe:/go/src/github.com/moby/moby# docker run hello-world root@5f8630b873fe:/go/src/github.com/docker/docker# docker run hello-world
``` ```
11. List the image you just downloaded. 11. List the image you just downloaded.
```none ```none
root@5f8630b873fe:/go/src/github.com/moby/moby# docker images root@5f8630b873fe:/go/src/github.com/docker/docker# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest c54a2cc56cbb 3 months ago 1.85 kB hello-world latest c54a2cc56cbb 3 months ago 1.85 kB
``` ```
@ -296,7 +296,7 @@ example, you'll edit the help for the `attach` subcommand.
10. To view your change, run the `dockerd --help` command in the docker development container shell. 10. To view your change, run the `dockerd --help` command in the docker development container shell.
```bash ```bash
root@b0cb4f22715d:/go/src/github.com/moby/moby# dockerd --help root@b0cb4f22715d:/go/src/github.com/docker/docker# dockerd --help
Usage: dockerd COMMAND Usage: dockerd COMMAND