cadvisor in docker
Uncategorised

Cadvisor – Docker Container

Click for DevOps + AWS + Linux Course

Used to monitor  Docker Containers.

Other tools to monitor docker – InfluxDB, and Grafana

Used by google.

#docker run \

–volume=/:/rootfs:ro \

–volume=/var/run:/var/run:rw \

–volume=/sys:/sys:ro \

–volume=/var/lib/docker/:/var/lib/docker:ro \

–publish=18888:8080 \

–detach=true \

–name=cadvisor \

google/cadvisor:latest

Unable to find image ‘google/cadvisor:latest’ locally

Trying to pull repository docker.io/google/cadvisor …

latest: Pulling from docker.io/google/cadvisor

709515475419: Pull complete

5760eeb1525d: Pull complete

e485506b272e: Pull complete

Digest: sha256:ed53f9f93bb52d64fa8f95daece42d95d18d1e48a8ec9237bd5944ed634348a1

9a0e3988609bf6046667da92f6515e6d00dc9f29ba443e730db44ba40eed0061

# docker ps

CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                     NAMES

9a0e3988609b        google/cadvisor:latest   “/usr/bin/cadvisor -l”   37 minutes ago      Up 37 minutes       0.0.0.0:18888->8080/tcp   cadvisor

#setenforce permissive

Open in Browser

http://192.168.56.101:18888

You might also like

Leave a Reply

Your email address will not be published. Required fields are marked *