actually fix broken gates this time

Signed-off-by: LRubin <lrubin@docker.com>
This commit is contained in:
LRubin 2016-10-13 18:59:19 -07:00
parent 43d996cb52
commit 38e4b2d802
1 changed files with 125 additions and 125 deletions

View File

@ -39,20 +39,20 @@ To remove unnecessary artifacts:
1. Verify that you have no unnecessary containers running on your host.
```bash
```none
$ docker ps -a
```
You should see something similar to the following:
```bash
```none
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
```
There are no running or stopped containers on this host. A fast way to
remove old containers is the following:
```bash
```none
$ docker rm $(docker ps -a -q)
```
@ -63,13 +63,13 @@ To remove unnecessary artifacts:
2. Verify that your host has no dangling images.
```bash
```none
$ docker images
```
You should see something similar to the following:
```bash
```none
REPOSITORY TAG IMAGE ID CREATED SIZE
```
@ -78,7 +78,7 @@ To remove unnecessary artifacts:
another image on your system. A fast way to remove dangling image is
the following:
```bash
```none
$ docker rmi -f $(docker images -q -a -f dangling=true)
```
@ -105,17 +105,17 @@ can take over 15 minutes to complete.
2. Change into the root of the `docker-fork` repository.
```bash
```none
$ cd ~/repos/docker-fork
```
If you are following along with this guide, you created a `dry-run-test`
branch when you <a href="/opensource/project/set-up-git/" target="_blank"> set up Git for
contributing</a>.
branch when you <a href="/opensource/project/set-up-git/" target="_blank">
set up Git for contributing</a>.
3. Ensure you are on your `dry-run-test` branch.
```bash
```none
$ git checkout dry-run-test
```
@ -124,7 +124,7 @@ can take over 15 minutes to complete.
4. Use `make` to build a development environment image and run it in a container.
```bash
```none
$ make shell
```
@ -134,7 +134,7 @@ can take over 15 minutes to complete.
successful build returns a final message and opens a Bash shell into the
container.
```bash
```none
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/docker/docker/bundles" -t "docker-dev:dry-run-test" bash
root@f31fa223770f:/go/src/github.com/docker/docker#
@ -151,7 +151,7 @@ can take over 15 minutes to complete.
6. Make a `docker` binary.
```bash
```none
root@a8b2885ab900:/go/src/github.com/docker/docker# hack/make.sh binary
...output snipped...
bundles/1.12.0-dev already exists. Removing.
@ -164,14 +164,14 @@ can take over 15 minutes to complete.
7. Copy the binary to the container's `/usr/bin` directory.
```bash
```none
root@a8b2885ab900:/go/src/github.com/docker/docker# cp bundles/1.12.0-dev/binary-client/docker* /usr/bin
root@a8b2885ab900:/go/src/github.com/docker/docker# cp bundles/1.12.0-dev/binary-daemon/docker* /usr/bin
```
8. Start the Engine daemon running in the background.
```bash
```none
root@a8b2885ab900:/go/src/github.com/docker/docker# docker daemon -D&
...output snipped...
DEBU[0001] Registering POST, /networks/{id:.*}/connect
@ -187,7 +187,7 @@ can take over 15 minutes to complete.
9. Inside your container, check your Docker version.
```bash
```none
root@5f8630b873fe:/go/src/github.com/docker/docker# docker --version
Docker version 1.12.0-dev, build 6e728fb
```
@ -198,13 +198,13 @@ can take over 15 minutes to complete.
10. Run the `hello-world` image.
```bash
```none
root@5f8630b873fe:/go/src/github.com/docker/docker# docker run hello-world
```
11. List the image you just downloaded.
```bash
```none
root@5f8630b873fe:/go/src/github.com/docker/docker# docker images
```
@ -212,7 +212,7 @@ can take over 15 minutes to complete.
13. List the container running your development container.
```bash
```none
ubuntu@ubuntu1404:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a8b2885ab900 docker-dev:dry-run-test "hack/dind bash" 43 minutes ago Up 43 minutes hungry_payne
@ -247,7 +247,7 @@ example, you'll edit the help for the `attach` subcommand.
2. Make sure you are in your `docker-fork` repository.
```bash
```none
$ pwd
/Users/mary/go/src/github.com/moxiegirl/docker-fork
```
@ -281,7 +281,7 @@ example, you'll edit the help for the `attach` subcommand.
9. View your change by display the `attach` help.
```bash
```none
root@b0cb4f22715d:/go/src/github.com/docker/docker# docker attach --help
Usage: docker attach [OPTIONS] CONTAINER