From af92b9b7e72ae18787aa5ae4288e183ce15dc911 Mon Sep 17 00:00:00 2001 From: Victor Marmol Date: Mon, 12 Jan 2015 08:43:25 -0800 Subject: [PATCH] Adding documentation for enabling memory cgroup in Debian. Fixes #432. --- docs/running.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/running.md b/docs/running.md index 5c981cb9..230e3021 100644 --- a/docs/running.md +++ b/docs/running.md @@ -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: