Merge pull request #200 from sanscontext/fix-gates-again

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