Skip to content

Commit

Permalink
Adding documentation for enabling memory cgroup in Debian.
Browse files Browse the repository at this point in the history
Fixes google#432.
  • Loading branch information
vmarmol committed Jan 12, 2015
1 parent 74d7719 commit af92b9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ In this case, cAdvisor UI should be accessible on `http://192.168.59.103:8080`

On CentOS and RHEL the cgroup hierarchies are mounted in `/cgroup` so run cAdvisor with an additional Docker option of `--volume=/cgroup:/cgroup \`.

## Debian

By default, Debian disables the memory cgroup which does not allow cAdvisor to gather memory stats. To enable the memory cgroup take a look at [these instructions](https://github.com/google/cadvisor/issues/432).

### LXC Docker exec driver

If you are using Docker with the LXC exec driver, then you need to manually specify all cgroup mounts by adding the:
Expand Down

0 comments on commit af92b9b

Please sign in to comment.