Skip to content

Commit e96b336

Browse files
committed
Fixed in-container paths in dev doc: moby/moby -> docker/docker.
Further to 355cf94 which caught some of these. This should fix the remainder in the contributing docs. Signed-off-by: Brett Randall <[email protected]>
1 parent daded8d commit e96b336

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/contributing/set-up-dev-env.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ can take over 15 minutes to complete.
130130
```none
131131
Successfully built 3d872560918e
132132
Successfully tagged docker-dev:dry-run-test
133-
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
133+
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/docker/docker/bundles" -t "docker-dev:dry-run-test" bash
134134
root@f31fa223770f:/go/src/github.com/docker/docker#
135135
```
136136

docs/contributing/software-req-win.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ To test it, stop the system Docker daemon and start the one you just built:
109109
.\dockerd.exe -D
110110

111111
The other make targets work too, to run unit tests try:
112-
`docker run --rm docker-builder sh -c 'cd /c/go/src/github.com/moby/moby; hack/make.sh test-unit'`.
112+
`docker run --rm docker-builder sh -c 'cd /c/go/src/github.com/docker/docker; hack/make.sh test-unit'`.
113113

114114
### 6. Remove the interim binaries container
115115

docs/contributing/test.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ Try this now.
107107
`dry-run-test` image.
108108
109109
```bash
110-
$ docker run --privileged --rm -ti -v `pwd`:/go/src/github.com/moby/moby dry-run-test /bin/bash
110+
$ docker run --privileged --rm -ti -v `pwd`:/go/src/github.com/docker/docker dry-run-test /bin/bash
111111
```
112112
113113
3. Run the tests using the `hack/make.sh` script.
114114
115115
```bash
116-
root@5f8630b873fe:/go/src/github.com/moby/moby# hack/make.sh dynbinary binary cross test-unit test-integration test-docker-py
116+
root@5f8630b873fe:/go/src/github.com/docker/docker# hack/make.sh dynbinary binary cross test-unit test-integration test-docker-py
117117
```
118118
119119
The tests run just as they did within your local host.
@@ -122,7 +122,7 @@ Try this now.
122122
just the unit tests:
123123
124124
```bash
125-
root@5f8630b873fe:/go/src/github.com/moby/moby# hack/make.sh dynbinary binary cross test-unit
125+
root@5f8630b873fe:/go/src/github.com/docker/docker# hack/make.sh dynbinary binary cross test-unit
126126
```
127127
128128
Most test targets require that you build these precursor targets first:
@@ -170,7 +170,7 @@ $ TESTFLAGS='-check.f DockerSuite.TestBuild*' make test-integration
170170
To run the same test inside your Docker development container, you do this:
171171

172172
```bash
173-
root@5f8630b873fe:/go/src/github.com/moby/moby# TESTFLAGS='-check.f TestBuild*' hack/make.sh binary test-integration
173+
root@5f8630b873fe:/go/src/github.com/docker/docker# TESTFLAGS='-check.f TestBuild*' hack/make.sh binary test-integration
174174
```
175175

176176
## Test the Windows binary against a Linux daemon
@@ -188,7 +188,7 @@ run a Bash terminal on Windows.
188188
2. Change to the `moby` source directory.
189189

190190
```bash
191-
$ cd /c/gopath/src/github.com/moby/moby
191+
$ cd /c/gopath/src/github.com/docker/docker
192192
```
193193

194194
3. Set `DOCKER_REMOTE_DAEMON` as follows:

0 commit comments

Comments
 (0)