From c5b4f30ad9578b079e7fac3d495577f96f2d4a46 Mon Sep 17 00:00:00 2001 From: Victor Marmol Date: Mon, 30 Mar 2015 16:16:01 -0700 Subject: [PATCH] Fix build documentation and clarify readme. --- README.md | 2 +- docs/build.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c01b0c8b..ce9fce45 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ cAdvisor has native support for [Docker](https://github.com/docker/docker) conta #### 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 \ diff --git a/docs/build.md b/docs/build.md index 301d7bb8..f4769b0d 100644 --- a/docs/build.md +++ b/docs/build.md @@ -14,16 +14,16 @@ We use `godep` so you will need to get that as well: $ 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: ``` -$ 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.