From 0209d968267e6d8b234e78885a1190f8988bba32 Mon Sep 17 00:00:00 2001 From: Victor Marmol Date: Thu, 20 Nov 2014 06:57:52 +0800 Subject: [PATCH] Add a case in the docs for the / bindmount error. Fixes #303 --- docs/running.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/running.md b/docs/running.md index f3da6adb..a0f13b5b 100644 --- a/docs/running.md +++ b/docs/running.md @@ -34,6 +34,10 @@ If you are using Docker with the LXC exec driver, then you need to manually spec --volume=/cgroup/blkio:/cgroup/blkio \ ``` +### Invalid Bindmount `/` + +This is a problem seen in older versions of Docker. To fix start cAdvisor without the `--volume=/:/rootfs:ro` mount. cAdvisor will handle not exporting the stats that allows. + ## Standalone cAdvisor is a static Go binary with no external dependencies. To run it standalone all you should need to do is run it! Note that some data sources may require root priviledges. cAdvisor will gracefully degrade its features to those it can expose with the access given.