PRODUCT DOCUMENTATION
SHARE TO SOCIAL

Docker Monitoring

Last updated - 25 July, 2025

Our Docker LogicModule monitors resource usage within Docker containers. To do so it requires the installation of the “cAdvisor” monitoring container within your docker service.

Note: cAdvisor does not work on RHEL 7.6. For more information, see this report.

Installing cAdvisor

To install cAdvisor, execute the following commands on your Docker host:

sudo docker run \
  --volume=/:/rootfs:ro \
  --volume=/var/run:/var/run:ro \
  --volume=/sys:/sys:ro \
  --volume=/var/lib/docker/:/var/lib/docker:ro \
  --publish=8080:8080 \
  --detach=true \
  --name=cadvisor \
  gcr.io/cadvisor/cadvisor:latest

Once cAdvisor is running, LogicMonitor will discover containers as instances and begin gathering data.

For more information, see https://github.com/google/cadvisor/

Running cAdvisor on RHEL and Centos

On RHEL and Centos systems you’ll need to add these install options to ensure proper operation of cAdvisor:

--privileged=true \
--volume=/cgroup:/cgroup:ro \

Running cAdvisor on Docker

On older versions of Docker (< 1.2) you may need to specify the root volume access option as:

--volume=//:/rootfs:ro \