Fix build documentation and clarify readme.

This commit is contained in:
Victor Marmol 2015-03-30 16:16:01 -07:00
parent e0b82dfd7c
commit c5b4f30ad9
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ cAdvisor has native support for [Docker](https://github.com/docker/docker) conta
#### Quick Start: Running cAdvisor in a Docker Container #### Quick Start: Running cAdvisor in a Docker Container
To quickly tryout cAdvisor on your machine with Docker, we have a Docker image that includes everything you need to get started. Simply run: To quickly tryout cAdvisor on your machine with Docker, we have a Docker image that includes everything you need to get started. You can run a single cAdvisor to monitor the whole machine. Simply run:
``` ```
sudo docker run \ sudo docker run \

View File

@ -14,16 +14,16 @@ We use `godep` so you will need to get that as well:
$ go get github.com/tools/godep $ go get github.com/tools/godep
``` ```
At this point you can build cAdvisor: At this point you can build cAdvisor from the source folder:
``` ```
$ godep go build github.com/google/cadvisor $GOPATH/src/github.com/google/cadvisor $ godep go build .
``` ```
or run only unit tests: or run only unit tests:
``` ```
$ godep go test github.com/google/cadvisor/... -test.short $GOPATH/src/github.com/google/cadvisor $ godep go test ./... -test.short
``` ```
For integration tests, see the [integration testing](integration_testing.md) page. For integration tests, see the [integration testing](integration_testing.md) page.